CWE-943: Improper Neutralization of Special Elements in Data Query Logic
low-riskThe product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.
Abstraction: Class
Common Consequences
Confidentiality
→
Bypass Protection Mechanism
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-2017-12904 | 8.8 | 3.1% | — |
| CVE-2022-36084 | 9.9 | 1.0% | — |
| CVE-2018-7829 | 8.8 | 0.5% | — |
| CVE-2024-4872 | 9.9 | 0.5% | — |
| CVE-2020-36195 | 9.8 | 0.5% | — |
| CVE-2018-19952 | 7.5 | 0.3% | — |
| CVE-2024-31882 | 5.3 | 0.2% | — |
| CVE-2020-5257 | 7.7 | 0.2% | — |
| CVE-2025-24787 | 8.6 | 0.2% | — |
| CVE-2024-35136 | 5.3 | 0.2% | — |
0
/ 100
low-risk
Active Threat
0/50 · Minimal
Exploit Availability
0/50 · Minimal