CVE-2021-42575Owasp Java Html Sanitizer
Critical 9.8 No auth needed
Follow: this CVE · Owasp · Owasp Java Html Sanitizer We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Java Html Sanitizer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| owasp | java_html_sanitizer | < 20211018.2 |
| oracle | middleware_common_libraries_and_tools | 12.2.1.3.0 |
| oracle | middleware_common_libraries_and_tools | 12.2.1.4.0 |
| oracle | primavera_unifier | ≥ 17.7 ≤ 17.12 |
| oracle | primavera_unifier | 18.8 |
| oracle | primavera_unifier | 19.12 |
| oracle | primavera_unifier | 20.12 |
| oracle | primavera_unifier | 21.12 |
Official sources
References
Links published by the sources. Open them with care.
- docs.google.com Exploit Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory