Vulnerability in Express Xss Sanitizer Project
CVE-2025-59364
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.005, 41.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Express Xss Sanitizer Project — versions 2.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (AhmedAdelFahim/express-xss-sanitizer). These reference the CVE in a list, notes or a scanner and are not exploit code for it.