Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.mikesamuel/json-sanitizer
  4. ›
  5. CVE-2021-23899

CVE-2021-23899: Improper Restriction of XML External Entity Reference

January 13, 2021 (updated January 19, 2021)

OWASP json-sanitizer may emit closing SCRIPT tags and CDATA section delimiters for crafted input. This allows an attacker to inject arbitrary HTML or XML into embedding documents.

References

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

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.2

Fixed versions

  • 1.2.2

Solution

Upgrade to version 1.2.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-611: Improper Restriction of XML External Entity Reference

Source file

maven/com.mikesamuel/json-sanitizer/CVE-2021-23899.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:01 +0000.