Maven (Java)Worst: Critical3 advisories

com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer: known vulnerabilities

com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer has 3 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 high, 1 low. The most recent was published 2025-11-26. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer versions running across your servers, containers and images, and ranks what to patch first.

How to fix com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer

Upgrade com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer to a release at or above the fixed version shown for each advisory below. For Maven (Java):

Bump the dependency to 20260101.1 in your pom.xml or build.gradle

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization High CWE-79 — Affected: from 20240325.1 up to 20260101.1. Fixed in 20260101.1. Published 2025-11-26. GHSA-g9gq-3pfx-2gw2 · CVE-2025-66021
Policies not properly enforced in OWASP Java HTML Sanitizer Critical 9.8 CWE-20 — Affected: before 20211018.1. Fixed in 20211018.1. Published 2021-10-18. GHSA-3w73-fmf3-hg5c · CVE-2021-42575
OWASP HTML Sanitizer allows redirecting to an arbitrary URL when JavaScript is disabled Low CWE-200 — Affected: before 88. Fixed in 88. Published 2011-11-17. GHSA-pcm9-fp55-563v · CVE-2011-4457

Find com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.