Cyber Resilience

CWE · MITRE source

CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Abstraction: Base · CVEs in our corpus: 19,652

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: 04 July 2026 00:28 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 · 9 mapping(s) from 4 framework(s): CAPEC 5 (full) · CSF 2.0 2 (mostly) · OWASP-Web 1 (full) · ATT&CK 1 (partial)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A05:2025 Injection.

NIST 800-53 r5 controls that address this weakness (2)AI

Control Title Family Why it addresses this CWE
CA-8Penetration TestingCAPenetration testing uses SQL injection payloads against database interfaces, identifying and supporting fixes for SQL injection weaknesses.
SI-10Information Input ValidationSIValidates query inputs to prevent SQL syntax or command manipulation.

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). Drafted by Grok and spot-checked by Claude Opus 4.8.

Direction: other covers this; this covers other (F/M/P = full / mostly / partial).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2016-2386 KEV10.09.80.71062016-02-16
CVE-2017-18362 KEV10.09.80.86712019-02-05
CVE-2018-7841 KEV10.09.80.72492019-05-22
CVE-2019-12989 KEV10.09.80.94052019-07-16
CVE-2019-7481 KEV10.07.50.99912019-12-17
CVE-2020-5722 KEV10.09.80.83932020-03-23
CVE-2020-12271 KEV10.09.80.43062020-04-27
CVE-2020-17463 KEV10.09.80.90042020-08-13
CVE-2020-29574 KEV10.09.80.04732020-12-11
CVE-2021-20016 KEV10.09.80.40042021-02-04
CVE-2021-20028 KEV10.09.80.30082021-08-04
CVE-2021-42258 KEV10.09.80.73272021-10-22
CVE-2021-44026 KEV10.09.80.42752021-11-19
CVE-2023-34362 KEV10.09.80.99932023-06-02
CVE-2023-46748 KEV10.08.80.04472023-10-26
CVE-2023-48788 KEV10.09.80.97592024-03-12
CVE-2024-29824 KEV10.08.80.99952024-05-31
CVE-2024-6670 KEV10.09.80.94662024-08-29
CVE-2024-9379 KEV10.06.50.43582024-10-08
CVE-2024-43468 KEV10.09.80.60662024-10-08
CVE-2024-9465 KEV10.09.10.99602024-10-09
CVE-2025-25181 KEV10.05.80.50562025-02-03
CVE-2025-25257 KEV UPD10.09.80.96712025-07-17
CVE-2025-57819 KEV UPD10.09.80.93292025-08-28
CVE-2026-21643 KEV10.09.80.94082026-02-06