CVE-2021-42575
owasp-java-html-sanitizer: improper policies enforcement may lead to remote code execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium).
Description
The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer | 20211018.1 |
References
- https://access.redhat.com/security/cve/CVE-2021-42575
- https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50
- https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50/
- https://nvd.nist.gov/vuln/detail/CVE-2021-42575
- https://www.cve.org/CVERecord?id=CVE-2021-42575
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html