CORS Policy Analyzer
Reads the Access-Control response headers together and flags the origin and credentials combinations that leak data.
Loading the tool…
How to use this tool
- Paste the Access-Control response headers, one per line.
- Select Analyze CORS.
- Start with the amber rows - those are the origin and credentials combinations worth reviewing.
- If the origin is reflected from the request at runtime, confirm your code checks it against an allow-list first.
What cors policy analyzer does
CORS goes wrong in combination, not in isolation. A wildcard origin is fine for public data and invalid the moment credentials are allowed. A specific origin looks careful until you learn it was reflected straight from the request, which makes it a wildcard in disguise. The single headers each read as reasonable; the danger is in how they add up.
Paste the Access-Control response headers and this reads them as a set: it calls out a wildcard-plus-credentials policy that browsers reject, a null origin, a per-origin policy missing its Vary: Origin, and the credentialed settings that make a loose origin actually exploitable. It runs entirely in your browser - nothing you paste is sent anywhere, and this tool does not contact, scan or attack any website. Only review systems you own or are authorised to assess.