Skip to content

SQL Injection

What is SQL Injection?

A web security vulnerability that allows an attacker to interfere with the queries an application makes to its database. SQL injection can be used to view, modify, or delete data and in some cases gain complete control of the database server.

Information Security

What the standards actually require on sql injection

Requirements naming sql injection across 6 standards, quoted from the control text.

Rank 3 in the 2024 CWE Top 25 (frequency x severity of CVEs). SQL Injection: user input is incorporated into an SQL query without proper neutralisation, allowing modification of query logic and unauthorised data access.

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

Use parameterised queries instead of placing user input into query strings, to prevent SQL injection.

secure-by-design-a-guide-for-manufacturers-cisa::DT-5 · Parameterized queries (SSDF PW.5.1) →

Application code scanners, which analyse source, binary or byte code for security flaws, malicious code and back doors, must be used whenever possible and particularly in development so flagged code is remediated before release, with mitigations such as IDS or...

disa-security-technical-implementation-guides-stigs::SRG-9 · SRG-9 ASD general requirements: code scanners whenever possible, application scanners regularly, mobile code by category →

The device validates application-layer data entered through user interfaces against unexpected input, to prevent manipulation and failure, for example discarding input that would enable SQL injection. Status in Table B.1: M (mandatory, a shall provision).

etsi-en-303-645::Provision 5.13-1A · Validation of application-layer input from user interfaces →

Applications, including web applications facing the internet, are tested against known attack types such as SQL injection, cross-site scripting and buffer overflow before implementation and after significant change.

ffiec-cybersecurity-assessment-tool-cat::D3.PC.Se.Int.2 · D3.PC.Se.Int.2 Secure Coding (Intermediate 2) →

Intermediate control principles for secure development (required, with baseline, of an AI whose inherent risk is medium). Processes mitigate vulnerabilities found during secure development;

hkma-cyber-resilience-assessment-framework-c-raf::3.4.I · 3.4 Secure development: intermediate level →

Questions people ask about sql injection

What is SQL Injection?
A web security vulnerability that allows an attacker to interfere with the queries an application makes to its database. SQL injection can be used to view, modify, or delete data and in some cases gain complete control of the database server.
Why is SQL Injection important for compliance?
SQL Injection is a key concept in Information Security. Understanding sql injection helps organizations meet regulatory requirements, reduce risk, and demonstrate due diligence during audits. Our compliance platform maps 1,016 frameworks with 316K cross-framework control mappings.
Which compliance frameworks address SQL Injection?
SQL Injection appears in the requirement text of CWE Top 25 Most Dangerous Software Weaknesses (2024), Secure by Design: A Guide for Manufacturers (CISA), DISA Security Technical Implementation Guides (STIGs), ETSI EN 303 645, FFIEC Cybersecurity Assessment Tool (CAT). Across these standards we have identified 8 controls that name it directly, each linked to the control text on the compliance platform.
Where can I learn more about SQL Injection?
Explore our compliance framework pages to see how sql injection applies across different standards and regulations. Our implementation guides provide step-by-step guidance, and the compliance platform offers AI-powered analysis of how this concept maps across 1,016 frameworks.

See how SQL Injection applies across compliance frameworks

Our platform maps 1,016 frameworks with 316K cross-framework control mappings. Explore how this concept is addressed across standards.

Written and maintained by Gerard Blokdyk, The Art of Service.