GitHub Advisory Database
GHSA-mm8j-9x84-m9cv
Arbitrary code injection in json-sanitizer
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.mikesamuel:json-sanitizer | All versions before 1.2.2 (fixed in 1.2.2) |