Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

adamchainz/django-cors-headers
main @ d6a75e4
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
CORS Misconfiguration: 2 prior fixes. Scrutinize any change in this area.
corsheaders/middleware.py: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

CORS Misconfiguration: Emitted Access-Control-Allow-Credentials for origins not in the allowlist, exposing authenticated data to unauthorized cross-origin requests.
CORS Misconfiguration: Origin allowlist matching ignored the URL scheme, allowing origins with a different scheme (e.g., http vs https) to be incorrectly treated as allowed, enabling unauthorized cross-origin access.