Vulnerability · Published Sep 14, 2025 · Assigned by mitre
CVE-2025-59364
Medium 5.3
In plain English
A medium-severity security flaw in Express XSS Sanitizer from Express XSS Sanitizer project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 60.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | express-xss-sanitizer | 2.0.1 | GHSA-hvq2-wf92-j4f3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Express XSS Sanitizer project | Express XSS Sanitizer | 2.0.0 |
Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L