All CVEs / Express XSS Sanitizer project
CVE-2025-59364Express XSS Sanitizer project Express XSS Sanitizer
Medium 5.3 No auth needed
Follow: this CVE · Express XSS Sanitizer project · Express XSS Sanitizer project Express XSS Sanitizer We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 14, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Express XSS Sanitizer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | express-xss-sanitizer |
< 2.0.1 |
2.0.1 |
npm install express-xss-sanitizer@2.0.1 |
Per OSV / GitHub Advisories (GHSA-hvq2-wf92-j4f3). Check the version in your lockfile before upgrading.
Affected products
- Express XSS Sanitizer project · Express XSS Sanitizer
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.