CVE-2021-23899 Arbitrary code injection in json-sanitizer
CriticalCVSS 9.8
EPSS 2.1%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| com.mikesamuel/json-sanitizer(Maven) | < 1.2.2; = 1.0; = 1.1; = 1.2.0 +1 more | 1.2.2 | Fixed |
| owasp json-sanitizer | < 1.2.2 | 1.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.mikesamuel/json-sanitizer(Maven) | < 1.2.2 | 1.2.2 |
| com.mikesamuel/json-sanitizer(Maven) | = 1.0 | No fix listed |
| com.mikesamuel/json-sanitizer(Maven) | = 1.1 | No fix listed |
| com.mikesamuel/json-sanitizer(Maven) | = 1.2.0 | No fix listed |
| com.mikesamuel/json-sanitizer(Maven) | = 1.2.1 | No fix listed |
| owasp json-sanitizer | < 1.2.2 | 1.2.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- groups.google.com third-party-advisory
- github.com