Vulnerabilities (CVE)

Filtered by vendor Owasp Subscribe
Filtered by product Java Html Sanitizer
Total 2 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2025-66021 1 Owasp 1 Java Html Sanitizer 2025-12-30 N/A 6.1 MEDIUM
OWASP Java HTML Sanitizer is a configureable HTML Sanitizer written in Java, allowing inclusion of HTML authored by third-parties in web applications while protecting against XSS. In version 20240325.1, OWASP java html sanitizer is vulnerable to XSS if HtmlPolicyBuilder allows noscript and style tags with allowTextIn inside the style tag. This could lead to XSS if the payload is crafted in such a way that it does not sanitise the CSS and allows tags which is not mentioned in HTML policy. At time of publication no known patch is available.
CVE-2021-42575 2 Oracle, Owasp 3 Middleware Common Libraries And Tools, Primavera Unifier, Java Html Sanitizer 2024-11-21 7.5 HIGH 9.8 CRITICAL
The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.