cvedb.io
CVE-2025-66021
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2025-11-26T02:15:49.723 · Last modified 2026-06-17T09:56:11.373

Summary

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.

Affected products

owasp — java_html_sanitizer

Does this affect you?

Add your gear to cvedb and we'll alert you only when owasp ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.