Read the docs
TI-2025-36923 Aliases CVE-2025-59364GHSA-hvq2-wf92-j4f3

Uncontrolled recursion in Express XSS Sanitizer

Priority LOW 24CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

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

Summary

The express-xss-sanitizer (aka Express XSS Sanitizer) package through 2.0.0 for Node.js has an unbounded recursion depth in sanitize in lib/sanitize.js for a JSON request body.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00449 39th percentileScored 2026-11-07
Fix Fixed express-xss-sanitizer (npm): 2.0.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Express XSS Sanitizer projectExpress XSS Sanitizer2.0.0—No fix listedCNA
—express-xss-sanitizer (npm)before 2.0.12.0.1Patch availableGHSA-hvq2-wf92-j4f3
  • Express XSS Sanitizer VendorExpress XSS Sanitizer project Affected 2.0.0 Fixed in — No fix listed CNA
  • express-xss-sanitizer (npm) Vendor— Affected before 2.0.1 Fixed in 2.0.1 Patch available GHSA-hvq2-wf92-j4f3

Remediation

  • Fix · GHSA-hvq2-wf92-j4f3 express-xss-sanitizer (npm) Fixed in 2.0.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59364
  2. 2026-10-03 Alias added: GHSA-hvq2-wf92-j4f3

References

  • TI-2026-26320 Express XSS Sanitizer: allowedTags/allowedAttributes bypass leads to permissive sanitization (XSS risk) CVSS 3.1HIGH 8.2
  • TI-2022-05570 Prototype pollution in express-xss-sanitizer CVSS 3.1HIGH 7.3

Sources