SecurityContext

CVE-2021-23899: OWASP json-sanitizer - Stored XSS

  • Cve: CVE-2021-23899
  • Name: OWASP json-sanitizer - Stored XSS
  • 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.
  • Impact: Attackers can inject malicious HTML or XML, leading to cross-site scripting or data manipulation in embedding documents.
  • Remediation: Update to version 1.2.2 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02093
  • Epss percentile: 0.82008
  • Assignee: [email protected]
  • Published at: 2021-01-13T16:15:14Z
  • Age in days: 2141
  • Modified at: 2026-06-17T03:39:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-23899
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-611Improper Restriction of XML External Entity Reference

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/OWASP/json-sanitizer/commit/a37f594f7378a1c76b3283e0dab9e1ab1dc0247ePatch, Third Party Advisory
https://github.com/OWASP/json-sanitizer/compare/v1.2.1...v1.2.2Patch, Third Party Advisory
https://groups.google.com/g/json-sanitizer-support/c/dAW1AeNMoA0Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
owasp:json-sanitizer< 1.2.2nonvd/v1/products/owasp/json-sanitizer

Projects

RepositoryLink kindsIndexedUrl
OWASP/json-sanitizercommit, compareyes/v1/repositories/OWASP/json-sanitizer

Index

  • Repositories: 2
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts