GitHub Advisoryadvisory · Maven
GHSA-mm8j-9x84-m9cv Arbitrary code injection in json-sanitizer
CRITICAL
Official page ↗
- Aliases
- CVE-2021-23899
- Ecosystem
- Maven
- Packages
- com.mikesamuel:json-sanitizer
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-611
- Reviewed
- 2021-04-06
Affected packages
• Maven com.mikesamuel:json-sanitizer: < 1.2.2 → fixed in 1.2.2
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.
Related
Alias · CVE (1)
- CVE-2021-23899 OWASP json-sanitizer before 1.2.2 may emit closing SCRIPT tags and CDATA section delimiters for crafted input. vulnerability
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness