BaselineWatch
Desk

CVE-2025-66021

8.6 high SSVC exploitation: poc Analyzed

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.

Fix

Patch, vendor advisory and mitigation references on NVD 2

Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.

Change history 1

  1. First seenCVSS 8.6 · owaspNVD modified 2026-10-18 20:10

Affected (CPE criteria) 1

  • cpe:2.3:a:owasp:java_html_sanitizer:20240325.1:*:*:*:*:*:*:*

References 2