Security context

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

apache/myfaces-trinidad
main @ fd514d2
9
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Reflected XSS: 3 prior fixes. Scrutinize any change in this area.
ClassLoaderResourceLoader.java: most-fixed (2 issues). Treat as high-risk during review.
7 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: Resource lookups using getResource(path) were vulnerable to path traversal, fixed by adding _isPathWithinRoot guard. Two separate commits fixed the same issue, indicating recurring weakness.
Reflected XSS: Locale parameters were used to construct Locale objects without validation, allowing crafted locale strings to cause XSS. Two fixes added validation, showing the sink was repeatedly exploited.
HTTP Response Splitting: The 'enc' request parameter was used without CRLF validation, allowing HTTP response splitting. Two commits fixed the same sink, indicating a persistent gap.