CVE-2021-23899
Arbitrary code injection in json-sanitizer
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.mikesamuel:json-sanitizer | 1.2.2 |