OWASP Injection Prevention Cheat Sheets
- Category
- OWASP
- Docs outline
- 11 sections
Official docs outline
cheatsheetseries.owasp.org- Injection Prevention
General injection defense: parameterization, escaping and allow-lists.
- SQL Injection Prevention
Prepared statements, stored procedures and allow-list input validation.
- Query Parameterization
Parameterized query examples across languages.
- OS Command Injection Defense
Avoiding shell execution, argument separation and validation.
- LDAP Injection Prevention
Escaping LDAP filters and distinguished names.
- XPath Injection Prevention
Parameterized XPath queries.
- XML External Entity Prevention
Disabling DTDs and external entities in XML parsers.
- Server-Side Template Injection Prevention
Template sandboxing and logic-less templates.
- NoSQL Security
NoSQL injection and database hardening.
- Injection Prevention in Java
Java-specific injection defenses.
- LLM Prompt Injection Prevention
Defending LLM applications against prompt injection.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.
More in OWASP
All 33-
OWASP Dependency-Check
- OWASP Deserialization Cheat Sheet
- OWASP Django Security Cheat Sheets
- OWASP Docker Security Cheat Sheet
- OWASP File Upload Cheat Sheet
- OWASP GraphQL Cheat Sheet
- OWASP Input Validation Cheat Sheets
- OWASP Kubernetes Security Cheat Sheet
- OWASP Language and Framework Cheat Sheets
- OWASP Logging Cheat Sheets
- OWASP MASVS
- OWASP Node.js Security Cheat Sheets