CVE-2021-42575 in Oracle Primavera Unifier and 2 more products
The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Oracle | Primavera Unifier | 18.8 19.12 20.12 21.12 ≥ 17.7, ≤ 17.12 |
| Oracle | Middleware Common Libraries And Tools | 12.2.1.3.0 12.2.1.4.0 |
| Owasp | Java Html Sanitizer | < 20211018.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-42575 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-299249-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-10-18 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
The OWASP Java HTML Sanitizer before version 20211018.1 fails to properly enforce policies for SELECT, STYLE, and OPTION HTML elements, potentially allowing for Cross-Site Scripting (XSS) attacks.
An attacker can inject malicious scripts into web pages by exploiting the improper handling of SELECT, STYLE, and OPTION elements in the OWASP Java HTML Sanitizer. This can lead to unauthorized access to user data, session hijacking, and other malicious activities.
Questions
What is CVE-2021-42575?
The OWASP Java HTML Sanitizer before version 20211018.1 fails to properly enforce policies for SELECT, STYLE, and OPTION HTML elements, potentially allowing for Cross-Site Scripting (XSS) attacks.
What is the CVSS score for CVE-2021-42575?
CVE-2021-42575 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.0%.
Is CVE-2021-42575 actively exploited?
No confirmed active exploitation of CVE-2021-42575 as of 2026-09-25.
How do I remediate CVE-2021-42575?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-42575?
CVE-2021-42575 affects Oracle Primavera Unifier, Middleware Common Libraries And Tools; Owasp Java Html Sanitizer.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Oracle","product":"Primavera Unifier","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.