Security context

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

nette/http
master @ 8730286
11
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/Http/FileUpload.php: most-fixed (4 issues). Treat as high-risk during review.
5 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.

Unrestricted Upload of File with Dangerous Type: Attackers can bypass upload restrictions by spoofing file names and MIME types. Multiple fixes were required to derive extensions directly from actual file contents rather than user-provided types.
Auth Bypass: Flaws in parsing proxy headers like 'X-Forwarded-Host' and handling missing 'Authorization' headers stripped by SAPI allowed authorization bypasses and host-spoofing attacks.
CSRF: Weak session and response cookie configurations previously permitted cross-site request forgery attacks by failing to default to 'SameSite=Lax'.