NetSight
critical9.8

CVE-2021-23899

Arbitrary code injection in json-sanitizer

Impact

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

EcosystemPackageAffectedFixed in
mavencom.mikesamuel:json-sanitizer< 1.2.21.2.2

Affected products

VendorProductAffected versions
OwaspJson-Sanitizer
before 1.2.2

Weakness classification

References