Security Resilience

CWE · MITRE source

CWE-89Improper Neutralization of Special Elements used in an SQL Command

Abstraction: Base · CVEs in our corpus: 21,935

The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Last updated: 30 November 2026 11:31 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 40 mapping(s) from 5 framework(s): ATT&CK 26 (full) · ISO_IEC_27002_2022 6 (full) · 800-53 5 (mostly) · 2 (mostly) · MSP_OFFERINGS 1 (mostly)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A05:2025 Injection.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • CA-8 Penetration Testing
  • SI-10 Information Input Validation
  • SA-11 Developer Testing and Evaluation
  • PR.AT-02
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V6.2.5
Our mappings

NIST 800-53 r5 controls PROPOSED for this weakness (2)

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
SI-10Information Input ValidationSIgraded mostly Validates query inputs to prevent SQL syntax or command manipulation.
CA-8Penetration TestingCAPenetration testing uses SQL injection payloads against database interfaces, identifying and supporting fixes for SQL injection weaknesses.
Our mappings

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).

Direction: ← other covers this; → this covers other (F/M/P = full / mostly / partial). gov = governs / implements (a mandate, not coverage).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2018-12464 10.010.00.80982018-06-29
CVE-2026-72898 KEV10.010.00.98212026-08-10
CVE-2016-2386 KEV 9.99.80.71522016-02-16
CVE-2016-10134 9.99.80.82682017-02-17
CVE-2016-2555 9.99.80.79762017-04-13
CVE-2017-8917 9.99.80.99832017-05-17
CVE-2018-17243 9.99.80.75502018-09-20
CVE-2018-17254 9.99.80.82782018-09-20
CVE-2018-17552 9.99.80.85532018-10-03
CVE-2017-18362 KEV 9.99.80.86822019-02-05
CVE-2019-10692 9.99.80.94262019-04-02
CVE-2018-7841 KEV 9.99.80.75172019-05-22
CVE-2019-12989 KEV 9.99.80.94962019-07-16
CVE-2019-17602 9.99.80.81082019-10-15
CVE-2013-5743 9.99.80.79992019-12-11
CVE-2019-20361 9.99.80.85232020-01-08
CVE-2020-8656 9.99.80.84602020-02-07
CVE-2020-9465 9.99.80.81822020-02-28
CVE-2020-10220 9.99.80.99702020-03-07
CVE-2020-5722 KEV 9.99.80.84292020-03-23
CVE-2020-12271 KEV 9.99.80.43062020-04-27
CVE-2020-12720 9.99.80.97302020-05-08
CVE-2020-11530 9.99.80.95412020-05-08
CVE-2020-10546 9.99.80.87332020-06-04
CVE-2020-14092 9.99.80.94532020-07-02