Vulnerabilities · 2021 · Owasp
CVE-2021-42575
Owasp Java Html Sanitizer vulnerability
The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Java Html Sanitizer, Middleware Common Libraries And Tools, Primavera Unifier. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Owasp Java Html Sanitizer runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Owasp products
CVE-2025-66022CVE-2025-66021CVE-2025-54571CVE-2025-48866CVE-2024-23686CVE-2024-1019CVE-2023-48171CVE-2023-38285All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.