Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-59364 EUVD-2025-29138GHSA-hvq2-wf92-j4f3GHSA-qhwp-454g-2gv4

express-xss-sanitizer has an unbounded recursion depth

Published Sep 14, 2025 · Updated Sep 15, 2025 · Assigned by mitre

Description

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.

Affected products

VendorProductAffectedFixed
Express XSS Sanitizer project Express XSS Sanitizer 2.0.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm express-xss-sanitizer < 2.0.1 2.0.1 GHSA-hvq2-wf92-j4f3

References