Read the docs
TI-2020-10947 Aliases CVE-2020-13973GHSA-g8jj-899q-8x3j

OWASP json-sanitizer before 1.2.1 allows XSS.

Priority LOW 29CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01123 66th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed com.mikesamuel:json-sanitizer (Maven): 1.2.1

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.11.2.1Patch availableGHSA-g8jj-899q-8x3j
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • com.mikesamuel:json-sanitizer (Maven) Vendor— Affected before 1.2.1 Fixed in 1.2.1 Patch available GHSA-g8jj-899q-8x3j

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:owasp:json-sanitizer:*:*:*:*:*:*:*:*before 1.2.1Vulnerableowasp-modsecurity
  • cpe:2.3:a:owasp:json-sanitizer:*:*:*:*:*:*:*:* Versions before 1.2.1 Vulnerable ·owasp-modsecurity

Remediation

  • Fix · GHSA-g8jj-899q-8x3j com.mikesamuel:json-sanitizer (Maven) Fixed in 1.2.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-13973
  2. 2026-10-03 Alias added: GHSA-g8jj-899q-8x3j

References

  • TI-2021-06251 OWASP json-sanitizer before 1.2.2 may emit closing SCRIPT tags and CDATA section… CVSS 3.1CRITICAL 9.8
  • TI-2021-06252 OWASP json-sanitizer before 1.2.2 can output invalid JSON or throw an undeclared… CVSS 3.1HIGH 7.5

Sources