Skip to content

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.

Back to the lesson 1 to 22 of 22
  1. 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
  2. The WordPress REST API or server configuration reflected the request Origin without validating it against an allowlist.

    Seen in 4 reports
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. The JSON-RPC endpoint accepted cross-origin requests because it did not validate the Origin or Content-Type headers.

    Seen in 1 report
  9. Handling of local file requests added a wildcard cross-origin header, allowing cross-origin reads of local files.

    Seen in 1 report
  10. 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
  11. 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.

    Seen in 1 report
  12. 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
  13. The server allowed cross-origin requests from unknown origins while also allowing credentials.

    Seen in 1 report
  14. 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
  15. 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
  16. 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
  17. The local HTTP and WebSocket server lacked authentication and origin validation, allowing cross-origin requests from a browser.

    Seen in 1 report
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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