Live threats

All CVEs / Owasp

CVE-2021-42575Owasp Java Html Sanitizer

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Oct 18, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.

Original NVD text.

What to do

  1. Apply the vendor's security update for Java Html Sanitizer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer < 20211018.1 20211018.1 —

Per OSV / GitHub Advisories (GHSA-3w73-fmf3-hg5c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
owaspjava_html_sanitizer< 20211018.2
oraclemiddleware_common_libraries_and_tools12.2.1.3.0
oraclemiddleware_common_libraries_and_tools12.2.1.4.0
oracleprimavera_unifier≥ 17.7 ≤ 17.12
oracleprimavera_unifier18.8
oracleprimavera_unifier19.12
oracleprimavera_unifier20.12
oracleprimavera_unifier21.12

Official sources

References

Links published by the sources. Open them with care.