CWE
611
Advisory Published
Updated

CVE-2021-23899: XEE

First published: Wed Jan 13 2021(Updated: )

OWASP json-sanitizer before 1.2.2 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
OWASP Java HTML Sanitizer<1.2.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-23899?

    CVE-2021-23899 is a vulnerability in OWASP json-sanitizer before version 1.2.2 that allows an attacker to inject arbitrary HTML or XML into embedding documents.

  • How severe is CVE-2021-23899?

    CVE-2021-23899 is rated as critical with a severity value of 9.8.

  • Which software is affected by CVE-2021-23899?

    OWASP json-sanitizer versions up to but excluding 1.2.2 are affected by CVE-2021-23899.

  • How can an attacker exploit CVE-2021-23899?

    An attacker can exploit CVE-2021-23899 by providing crafted input that results in the emission of closing SCRIPT tags and CDATA section delimiters by the json-sanitizer library.

  • How can I fix CVE-2021-23899?

    To fix CVE-2021-23899, update to version 1.2.2 or later of the OWASP json-sanitizer library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203