OWASP SSRF Prevention Cheat Sheet
Official docs outline
8 sections- Context
What SSRF is and why it matters.
- SSRF Common Flow
Typical attack sequence and impact.
- Case 1 Trusted Destinations
Allow-listing known destinations and avoiding user-controlled URLs.
- Case 2 Arbitrary Destinations
Validating IPs and DNS, blocking internal ranges and redirects.
- IMDSv2 in AWS
Protecting cloud instance metadata from SSRF.
- Deny-List Last Resort
Limitations of block lists for SSRF.
- Webhook Security
Safe webhook delivery and receiving including SSRF concerns.
- Network Segmentation
Egress filtering and segmentation limiting SSRF reach.
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 Node.js Security Cheat Sheets
- OWASP Password Storage Cheat Sheet
- OWASP REST Security Cheat Sheet
- OWASP SAMM
- OWASP Secrets Management Cheat Sheet
- OWASP Session Management Cheat Sheet
- OWASP Top 10 (2021)
- OWASP Top 10 (2025)
- OWASP Top 10 CI/CD Security Risks
- OWASP Top 10 for LLM Applications
- OWASP Web Security Testing Guide
- OWASP XSS Prevention Cheat Sheets