Security context

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

jhy/jsoup
master @ a57f14f
4
Fixes
3
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
src/main/java/org/jsoup/safety/Safelist.java: most-fixed (2 issues). Treat as high-risk during review.
0 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.

Cross-Site Scripting: Rules configured on the ':all' pseudo-tag were bypassed when tags had other explicit attributes defined, failing to properly sanitize attributes.
XSS: Configuring the 'noscript' tag in HTML Safelists introduced differential parsing vulnerabilities between the sanitizer and the client's browser rendering engine.
Auth Bypass: The Safelist copy constructor performed shallow instead of deep copies of nested collections, allowing shared security policies to be mutated unexpectedly.