In-depth lesson · CORS
Root causes
Every point the CORS reports back under this heading, best-backed first, each with the reports it is seen in.
-
The server reflected the request Origin into the cross-origin header and allowed credentials instead of checking against a trusted list.
Seen in 6 reports
-
The WordPress REST API or server configuration reflected the request Origin without validating it against an allowlist.
Seen in 4 reports
-
The origin check used a suffix match on the trusted domain instead of requiring a dot before it, so any domain ending in those characters was trusted.
Seen in 2 reports
-
The background fetch download request was created without setting the request initiator, so the credentials mode of the original request was not honoured.
Seen in 2 reports
-
The server echoed the request Origin whenever it ended in the trusted parent domain and always allowed credentials instead of checking an exact allowlist.
Seen in 2 reports
-
The SockJS endpoint was configured to allow all origins and returned a wildcard cross-origin header on a response that does not need credentials.
Seen in 1 report
-
The OAuth bridge validated the host parameter against the registered domain but never checked that the embedding page came from that domain.
Seen in 1 report
-
The JSON-RPC endpoint accepted cross-origin requests because it did not validate the Origin or Content-Type headers.
Seen in 1 report
-
Handling of local file requests added a wildcard cross-origin header, allowing cross-origin reads of local files.
Seen in 1 report
-
The origin check used a substring match instead of an exact allowlist, so any domain containing the trusted string was accepted.
Seen in 1 report
-
The content script forwarded socket actions from any page to the background page without validating the sender's origin, and the background page used attacker-controlled URLs and data.
-
The cross-origin policy reflected any subdomain origin without requiring HTTPS, and the profile endpoint did not verify a CSRF token.
Seen in 1 report
-
The server allowed cross-origin requests from unknown origins while also allowing credentials.
-
The bridge's origin check treated a missing Referer header as a match and relied on Referer rather than the postMessage target origin.
Seen in 1 report
-
The proxy reflected the request Origin into the cross-origin header and allowed credentials, so any origin could make credentialed reads.
Seen in 1 report
-
The service worker's fetch handler was not subject to the same private network and mixed content checks as normal page fetches.
Seen in 1 report
-
The local HTTP and WebSocket server lacked authentication and origin validation, allowing cross-origin requests from a browser.
-
The cross-origin filter reflected the request Origin with credentials allowed for broad URL patterns without validating the origin, and an error page contained the CSRF token.
Seen in 1 report
-
The API reflected user-controlled request headers and GET parameters into response headers without sanitisation while allowing any origin with credentials.
Seen in 1 report
-
The server checked the Origin header with a loose prefix or substring match instead of an exact match, so an origin that merely began with the trusted domain was accepted.
Seen in 1 report
-
The HTML embed ran with the same origin as the parent site instead of being isolated, so its scripts could read authenticated responses.
Seen in 1 report
-
The extension's background script did not properly validate or restrict messages from content scripts, allowing them to specify arbitrary URLs and headers for cross-origin requests.
Seen in 1 report