CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences

low-risk

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component.

Abstraction: Variant

Common Consequences

Integrity Unexpected State

Detection Methods

Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Real-World Examples (10)

CVE CVSS EPSS KEV
CVE-2024-28085 3.3 11.2%
CVE-2017-0899 9.8 7.4%
CVE-2021-25310 8.8 5.5%
CVE-2023-26055 9.9 4.9%
CVE-2025-25286 9.8 4.4%
CVE-2020-6932 10.0 3.6%
CVE-2022-30123 10.0 2.1%
CVE-2023-28446 8.8 1.6%
CVE-2024-50349 4.7 1.1%
CVE-2024-33899 7.1 1.0%
1
/ 100
low-risk
Active Threat 1/50 · Minimal
Exploit Availability 0/50 · Minimal