CORS Misconfiguration (origin, preflight, cross-origin reads)
Infrastructure / Transport · Severe priority
An attacker's page reads private API responses the server shares with any origin.
How Passkey Accounts™ addresses this
Passkey Accounts™ has no cookies and no exportable keys
A cross-origin fetch carries nothing and the keys cannot be exported
Example scenario
A reflected or wildcard origin policy combines with credentials, or a weak widget origin check trusts a look-alike host, letting attacker JavaScript read protected responses.
Without it
- Attacker: Fetches the API with credentials from a foreign origin
- Site: Reflects the attacker's Origin into the allow header
- Site: Also allows credentials
- Attacker: Reads the credentialed response from its script
- Site: Hands your private data to attacker code
- Attacker: Steals the protected response cross-origin
- Attacker: Loads the widget on a look-alike host
- Site: Trusts the frame self-declared origin
- Attacker: Reads the victim login state
- You: ❌ Attacker JavaScript reads the private response.
With Passkey Accounts™
- Attacker: Fetches the API with credentials from a foreign origin
- PA™: No cookies exist
- Attacker: Reads the credentialed response from its script
- PA™: The response holds no session
- Attacker: Loads the widget on a look-alike host
- PA™: Your host is never called
- PA™: The keys are non-extractable
- You: ✅ No credentials to reflect, no keys to export.
Watch it play out in the threat matrix
Developed by Justin Sargent (opens in a new tab) and published through Soup or Cereal, LLC. Privacy policy · Terms.