Security context

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

asm89/stack-cors
master @ 33dcc99
3
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
CORS Misconfiguration: 3 prior fixes. Scrutinize any change in this area.
src/CorsService.php: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix 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: The middleware allowed unauthorized cross-origin requests to reach downstream application kernel handlers instead of rejecting them with a 403 response, bypassing intended origin restrictions.
CORS Misconfiguration: Auxiliary CORS headers like Access-Control-Allow-Credentials could be appended to responses even when Access-Control-Allow-Origin validation failed or the Origin header was absent, exposing sensitive data to unauthorized sites.