Finding library
Overly permissive Access-Control-Allow-Origin
WebMedium
The application allows any website to read its responses, either with a wildcard or by echoing back whatever origin the request names.
Why it matters
When credentials are allowed as well, a page on another site can read data from your application using the session of a signed-in user.
How to check
curl -sI -H "Origin: https://untrusted.example" https://api.example.com/ | grep -i access-controlIf the response repeats the untrusted origin, or returns a wildcard together with Access-Control-Allow-Credentials: true, the policy is too open.
How to fix
- Replace the wildcard or reflection with an explicit list of allowed origins.
- Never combine credentials with a wildcard.
- Send
Vary: Originso caches keep responses apart.
ISO 27001 controls
A.8.26
Last reviewed: 15 November 2026.
Skenify publishes a finding only after it has been confirmed on the live asset.