OWASP json-sanitizer before 1.2.2 may emit closing SCRIPT tags and CDATA section…
Priority MEDIUM 46CWE-611Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.02093 81st percentileScored 2026-11-07
Fix Fixed com.mikesamuel:json-sanitizer (Maven): 1.2.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | com.mikesamuel:json-sanitizer (Maven) | before 1.2.2 | 1.2.2 | Patch available | GHSA-mm8j-9x84-m9cv |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- com.mikesamuel:json-sanitizer (Maven) Vendor— Affected before 1.2.2 Fixed in 1.2.2 Patch available GHSA-mm8j-9x84-m9cv
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:owasp:json-sanitizer:*:*:*:*:*:*:*:* | before 1.2.2 | Vulnerable | owasp-modsecurity |
- cpe:2.3:a:owasp:json-sanitizer:*:*:*:*:*:*:*:* Versions before 1.2.2 Vulnerable ·owasp-modsecurity
Remediation
- Fix · GHSA-mm8j-9x84-m9cv com.mikesamuel:json-sanitizer (Maven) Fixed in 1.2.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23899
- 2026-10-03 Alias added: GHSA-mm8j-9x84-m9cv
References
More owasp-modsecurity Json-sanitizer vulnerabilities
- TI-2021-06252 OWASP json-sanitizer before 1.2.2 can output invalid JSON or throw an undeclared… CVSS 3.1HIGH 7.5
- TI-2020-10947 OWASP json-sanitizer before 1.2.1 allows XSS. CVSS 3.1MEDIUM 6.1
Sources
- CVE-2021-23899 · CVE Program
- CVE-2021-23899 · NVD
- FIRST EPSS
- GHSA-mm8j-9x84-m9cv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences