Security Resilience

CWE · MITRE source

CWE-943Improper Neutralization of Special Elements in Data Query Logic

Abstraction: Class · CVEs in our corpus: 127

The 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.

Depending on the capabilities of the query language, an attacker could inject additional logic into the query to: The ability to execute additional commands or change which entities are returned has obvious risks. But when the product logic depends on the order or number of entities, this can also lead to vulnerabilities. For example, if the query expects to return only one entity that specifies an administrative user, but an attacker can change which entities are returned, this could cause the logic to return information for a regular user and incorrectly assume that the user has administrative privileges. While this weakness is most commonly associated with SQL injection, there are many other query languages that are also subject to injection attacks, including HTSQL, LDAP, DQL, XQuery, Xpath, and "NoSQL" languages.

Last updated: 14 October 2026 20:41 UTC

NIST 800-53 r5 controls PROPOSED for this weakness (0)AI-assisted

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2020-36195 7.69.80.01762021-04-17
CVE-2026-322487.59.80.00952026-03-12
CVE-2026-29793 7.49.80.00592026-03-10
CVE-2026-40351 7.49.80.00602026-04-17
CVE-2026-41274 7.49.80.00732026-04-23
CVE-2017-12904 7.38.80.06402017-08-23
CVE-2026-543507.310.00.00542026-06-26
CVE-2026-77070 7.39.80.00512026-08-20
CVE-2022-36084 7.29.90.01462022-09-08
CVE-2024-4872 7.09.90.00502024-08-27
CVE-2026-401417.09.90.00532026-07-06
CVE-2018-7829 6.98.80.01692019-05-22
CVE-2026-413276.99.10.00472026-04-24
CVE-2026-413286.99.10.00482026-04-24
CVE-2026-456886.99.10.00492026-06-24
CVE-2026-456896.99.10.00532026-06-24
CVE-2026-25513 6.68.80.00572026-02-04
CVE-2026-25514 6.68.80.00572026-02-04
CVE-2026-30236.68.80.00452026-03-16
CVE-2026-40352 6.68.80.00532026-04-17
CVE-2026-76316 6.68.80.00502026-08-19
CVE-2026-478356.58.60.00422026-06-15
CVE-2026-63637 6.58.60.00412026-08-06
CVE-2026-202846.49.10.00392026-09-16
CVE-2025-24787 6.38.60.00562025-02-06