OWASP REST Security Cheat Sheet
Official docs outline
15 sections- HTTPS
Requiring TLS for REST endpoints.
- Access Control
Authorization of API requests.
- JWT
Safe use of JSON Web Tokens in REST APIs.
- API Keys
API key handling and limits.
- Restrict HTTP Methods
Allow-listing methods per endpoint.
- Out-of-Order API Execution
Enforcing API call sequences.
- Input Validation
Validating parameters, bodies and sizes.
- Validate Content Types
Request and response content type handling.
- Management Endpoints
Protecting admin and actuator endpoints.
- Error Handling
Generic errors without internal detail.
- Audit Logs
Logging API access and security events.
- Security Headers
Response headers for APIs.
- CORS
Cross-origin resource sharing configuration.
- Sensitive Information in Requests
Keeping secrets out of URLs and query strings.
- HTTP Return Codes
Using appropriate status codes.
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 Kubernetes Security Cheat Sheet
- OWASP Language and Framework Cheat Sheets
- OWASP Logging Cheat Sheets
- OWASP MASVS
- OWASP Node.js Security Cheat Sheets
- OWASP Password Storage Cheat Sheet
- OWASP SAMM
- OWASP Secrets Management Cheat Sheet
- OWASP Session Management Cheat Sheet
- OWASP SSRF Prevention Cheat Sheet
- OWASP Top 10 (2021)
- OWASP Top 10 (2025)