Read the docs
TI-2021-06251 Aliases CVE-2021-23899GHSA-mm8j-9x84-m9cv

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—com.mikesamuel:json-sanitizer (Maven)before 1.2.21.2.2Patch availableGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:owasp:json-sanitizer:*:*:*:*:*:*:*:*before 1.2.2Vulnerableowasp-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

  1. 2026-10-02 Threatist record created from CVE-2021-23899
  2. 2026-10-03 Alias added: GHSA-mm8j-9x84-m9cv

References

  • 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