Security context

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

rocklobster-in/contact-form-7
master @ c784624
15
Fixes
0
CVEs
HIGH
Peak severity
46.2%
Coverage
Highlights
Path Traversal: 7 prior fixes. Scrutinize any change in this area.
includes/validation-functions.php: most-fixed (7 issues). Treat as high-risk during review.
3 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.

Path Traversal: Path validation functions failed to securely containment-test user paths due to unhandled realpath failures, missing path normalization, and weak prefix matches that allowed partial-path traversal.
Reflected XSS: Raw POST parameters and error references are reflected into client HTML responses without appropriate escaping or validation, exposing users to scripting injection vectors.
Auth Bypass: REST API route registration bypassed authentication rules because they failed to establish explicit permissions callbacks, granting anonymous access to administrative endpoints.