Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer
  4. ›
  5. CVE-2021-42575

CVE-2021-42575: Improper Input Validation

October 18, 2021 (updated October 22, 2021)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2021-42575

Code Behaviors & Features

Detect and mitigate CVE-2021-42575 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Versions before 20211018.2

Fixed versions

  • 20211018.2

Solution

Upgrade to version 20211018.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer/CVE-2021-42575.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.