Metraipolis › archive › dc_b04d32d108a7

SQL injection — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/SQL_injection
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-31T14:18:02.971Z
SHA-256 of the archived text
28f64d7f58302a0a85a351f81c617893cd822f22d54f77db508b2a2e11c3e6ad
Stable URL of this page
https://metraipolis.com/documento/dc_b04d32d108a7

How to cite

SQL injection — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/SQL_injection (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_b04d32d108a7 (Metraipolis archive dc_b04d32d108a7, sha256 28f64d7f58302a0a85a351f81c617893cd822f22d54f77db508b2a2e11c3e6ad)
BibTeX
@misc{dcb04d32d108a7,
  title = {SQL injection — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/SQL_injection},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_b04d32d108a7; sha256 28f64d7f58302a0a85a351f81c617893cd822f22d54f77db508b2a2e11c3e6ad},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/SQL_injection. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In computing, SQL injection is a code injection technique used to attack data-driven applications, in which malicious SQL statements are inserted into an entry field for execution (e.g. to dump the database contents to the attacker). SQL injection must exploit a security vulnerability in an application's software, for example, when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and unexpectedly executed. SQL injection is mostly known as an attack vector for websites but can be used to attack any type of SQL database. SQL injection attacks allow attackers to spoof identity, tamper with existing data, cause repudiation issues such as voiding transactions or changing balances, allow the complete disclosure of all data on the system, destroy the data or make it otherwise unavailable, and become administrators of the database server. Document-oriented NoSQL databases can also be affected by this security vulnerability. SQL injection remains a widely recognized security risk due to its potential to compromise sensitive data. The Open Web Application Security Project (OWASP) describes it as a vulnerability that occurs when applications construct database queries using unvalidated user input. Exploiting this flaw, attackers can execute unintended database commands, potentially accessing, modifying, or deleting data. OWASP outlines several mitigation strategies, including prepared statements, stored procedures, and input validation, to prevent user input from being misinterpreted as executable SQL code.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «database»).
Fonte: Wikipedia in inglese, voce «SQL injection» — https://en.wikipedia.org/wiki/SQL_injection
Wikidata Q506059: «tecnica di code injection» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q506059
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/SQL_injection?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1380564211, consultata il 2026-10-31T14:09:18.671Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 40f747385ae340276b6225b2754fe5afd65fc4476d867b2704394d99052696bf