CVE-2020-13973 Cross-site scripting in json-sanitizer
MediumCVSS 6.1
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
OWASP json-sanitizer before 1.2.1 allows XSS. An attacker who controls a substring of the input JSON, and controls another substring adjacent to a SCRIPT element in which the output is embedded as JavaScript, may be able to confuse the HTML parser as to where the SCRIPT element ends, and cause non-script content to be interpreted as JavaScript.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| com.mikesamuel/json-sanitizer(Maven) | < 1.2.1; = 1.0; = 1.1; = 1.2.0 | 1.2.1 | Fixed |
| owasp json-sanitizer | < 1.2.1 | 1.2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.mikesamuel/json-sanitizer(Maven) | < 1.2.1 | 1.2.1 |
| 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 |
| owasp json-sanitizer | < 1.2.1 | 1.2.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit patch third-party-advisory
- github.com