Answer in brief
CVE-2025-66021 records a High severity (CVSS 8.6) vulnerability in OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization. The current sources do not mark it as known exploited. The current feed maps OWASP/java-html-sanitizer (generic), com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer (maven), com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer (maven). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.6. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps OWASP/java-html-sanitizer (generic), com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer (maven), com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer (maven). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:owasp:java_html_sanitizer:20240325.1:*:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| OWASP/java-html-sanitizergeneric | <20260101.1 | 20260101.1 |
| com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizermaven | <20260101.1 | 20260101.1 |
| com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizermaven | >=0 <20260101.1 | 20260101.1 |
Published upstream
Nov 26, 2025
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Dec 3, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Oct 28, 2026
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. Prior to 20260101.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. This vulnerability is fixed in 20260101.1.
Quoted source text, attributed separately from HOL analysis.