All reports
Critical

Arbitrary code injection in json-sanitizer

Affected versions

Affected versions
< 1.2.2
Fixed version
1.2.2

Exploitation

CVE-2021-23899

Probability of exploitation in the next 30 days: 2.09%

FIRST EPSS · 2026-11-23

Description

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.

Links