CWE-162: Improper Neutralization of Trailing Special Elements
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes trailing special elements that could be interpreted in unexpected ways when they are sent to a downstream component.
Last updated
Overview
CWE-162 (Improper Neutralization of Trailing Special Elements) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
1 recorded CVE is caused by CWE-162 (Improper Neutralization of Trailing Special Elements). 1 new CWE-162 CVE has been recorded so far in 2026.
Common consequences
What can happen when CWE-162 is exploited.
Unexpected State, Varies by Context
Affects: Integrity
As data is parsed, an injected element may cause the process to take unexpected actions.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.