Maven package
com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer vulnerabilities.Is your version affected?
Every reviewed advisory for the Maven package com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer, with the versions that fix it. Type your version to see what applies.
Check your version
Checked in your browser against 3 advisories with confirmed versions. Nothing is sent.
Fixes everything
20260101.1
Or any later release
Worst severity
Critical 9.8
CVE-2021-42575, vulnerability
Exploited
Not on CISA's list
No confirmed attacks
Fix first
Recent ones with public exploit evidence: exploited in the wild first, then weaponized, then proof of concept.
All vulnerabilities
Every known com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer vulnerability
CVE
What
Severity
Status
Showing 3 of 3
Advisories
Reviewed advisories
CVE-2025-66021OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitizationHighCVE-2011-4457OWASP HTML Sanitizer allows redirecting to an arbitrary URL when JavaScript is disabledLowCVE-2021-42575Policies not properly enforced in OWASP Java HTML SanitizerCritical