Cyber Posture

CWE · MITRE source

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

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

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: 19 May 2026 14:18 UTC

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.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2021-42258 KEV9.69.80.94102021-10-22
CVE-2023-34362 KEV9.69.80.94252023-06-02
CVE-2023-48788 KEV9.69.80.94082024-03-12
CVE-2024-6670 KEV9.69.80.94472024-08-29
CVE-2019-12989 KEV9.59.80.91522019-07-16
CVE-2020-5722 KEV9.59.80.92742020-03-23
CVE-2024-9465 KEV9.59.10.94292024-10-09
CVE-2024-29824 KEV9.48.80.93972024-05-31
CVE-2019-7481 KEV9.27.50.94342019-12-17
CVE-2020-12271 KEV9.29.80.86652020-04-27
CVE-2021-20028 KEV8.99.80.82882021-08-04
CVE-2024-43468 KEV8.99.80.83112024-10-08
CVE-2017-18362 KEV8.89.80.80302019-02-05
CVE-2025-57819 KEV8.89.80.80042025-08-28
CVE-2021-20016 KEV8.79.80.79822021-02-04
CVE-2021-44026 KEV8.39.80.72532021-11-19
CVE-2024-9379 KEV8.16.50.79262024-10-08
CVE-2026-21643 KEV8.09.80.67452026-02-06
CVE-2017-8917 UPD7.69.80.94512017-05-17
CVE-2020-102207.69.80.94262020-03-07
CVE-2020-127207.69.80.93872020-05-08
CVE-2020-105487.69.80.93272020-06-04
CVE-2020-358467.69.80.93932020-12-30
CVE-2020-358477.69.80.93972020-12-30
CVE-2023-251577.69.80.94062023-02-21