Skip to main content

07 - References and Standards

Refer to the following specifications, industry standards, academic research, CVE case studies, and auditing tool repositories for authoritative details on Same-Origin Policy and Cross-Origin Resource Sharing security.


1. Specifications and Official Standards

  1. WHATWG Fetch Living Standard — CORS Protocol

    • The authoritative technical standard defining browser CORS fetch logic, preflight handling, and request safelists.
    • Standard Link: WHATWG Fetch Specification
  2. IETF RFC 6454 — The Web Origin Concept

    • Formal specification defining the mathematical computation of web origins using scheme, host, and port tuples.
    • RFC Link: RFC 6454 Specification
  3. W3C Private Network Access (PNA) Specification

  4. MDN Web Docs — Cross-Origin Resource Sharing (CORS)

    • Developer documentation detailing CORS request modes, preflight flow diagrams, and header parameters.
    • Documentation Link: MDN Web Docs - CORS
  5. MDN Web Docs — Same-Origin Policy


2. Industry Security Frameworks & Cheat Sheets

  1. OWASP HTML5 Security Cheat Sheet — Cross-Origin Resource Sharing

    • Defensive guidelines and framework rules for configuring secure CORS allowlists.
    • Cheat Sheet Link: OWASP CORS Cheat Sheet
  2. OWASP Top 10:2021 — A01: Broken Access Control

  3. NIST SP 800-95 — Guide to Secure Web Services

    • National Institute of Standards and Technology guidelines for secure API gateway design and cross-domain access controls.
    • NIST Link: NIST SP 800-95 Publication

3. Real-World CVE Case Studies & Vulnerability Analyses

CVE IdentifierProduct / ComponentVulnerability Root CauseImpact
CVE-2020-13612Apache SupersetInsecure CORS configuration allowed arbitrary origin reflection with credentials enabled.Cross-origin reading of dashboard analytics and user tokens.
CVE-2021-34503Kubernetes DashboardOverly permissive CORS origin regex allowed wildcard subdomains to query dashboard APIs.Privileged cluster access token exfiltration via client browsers.
CVE-2022-24706Apache CouchDBDefault HTTP server installation shipped with dynamic origin reflection enabled on admin endpoints.Remote unauthenticated database access and credential theft.

4. Academic Research & Exploitation Papers

  1. "Exploiting CORS Misconfigurations for Bitcoins and Zero-Days"

    • Author: James Kettle (PortSwigger Research)
    • Benchmark paper detailing origin reflection techniques, null origin sandbox exploitation, and internal intranet pivoting.
    • Research Link: PortSwigger Research Paper
  2. "An In-Depth Empirical Study of CORS Security in the Wild"

    • USENIX Security Symposium research analyzing CORS implementation flaws across the Alexa Top 1 Million websites.
    • Research Link: USENIX Security CORS Study

5. Security Tools & Scanner Repositories

  1. CORStest CLI Utility

    • Automated Python scanner for identifying origin reflection, null origin trust, and prefix/suffix regex bypasses.
    • Repository Link: GitHub - RUB-NDS/CORStest
  2. CORScanner Framework

  3. ProjectDiscovery Nuclei Templates

Share this guide