← Back

Java Html Sanitizer

java_html_sanitizer

Vendor: Owasp • 2 CVEs

CVEs (2)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Owasp
1Java Html Sanitizer
Jun 17, 2026
Nov 26, 2025
8.6 HIGH· v4
6.1 MEDIUM· v3
N/A· v2
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...Show more
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.Show less
2Oracle
Owasp
3Java Html Sanitizer
Middleware Common Libraries And ToolsPrimavera Unifier
Jun 17, 2026
Oct 18, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.