wstg-clnt-07 - Testing for Cross-Origin Resource Sharing (CORS)
Confirm whether CORS policies allow untrusted origins to read authenticated responses.
Tags
Updated: 2026-09-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Perform automated CORS sweep
- Test wildcard ACAO headers
- Test origin reflection behavior
- Test null origin acceptance
- Check credentials with permissive origins
- Test internal endpoints for CORS
- Confirm cross-origin read via PoC
- Record findings with evidence
Inputs
- Target API endpoints
- Authentication tokens or session cookies
- attack-cors reference skill
Outputs
- HTTP response headers in responses directory
- Browser PoC HTML file
- Browser PoC screenshot
- Findings recorded in findings.md
Requirements
- curl tool
- attack_script utility
- browser tool
- read tool
