ADVISORIES

GitHub Advisory Database

GHSA-mm8j-9x84-m9cv

Arbitrary code injection in json-sanitizer

Critical CVE-2021-23899

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavencom.mikesamuel:json-sanitizer
All versions before 1.2.2 (fixed in 1.2.2)

References