CVE-2025-59364
MEDIUM 5.3CVSS 3.1express-xss-sanitizer has an unbounded recursion depth
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
- 14 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-674
- Also known as
- GHSA-hvq2-wf92-j4f3
- Sources
- NVDJSONOSV GHSA-hvq2-wf92-j4f3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | express-xss-sanitizer | < 2.0.1 | 2.0.1 |
References
- https://gist.github.com/Spendroslav/177804eaef5acfb222a550de212a1b94 · WEB
- https://github.com/AhmedAdelFahim/express-xss-sanitizer · PACKAGE
- https://www.npmjs.com/package/express-xss-sanitizer · WEB
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/security/advisories/GHSA-hvq2-wf92-j4f3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59364 · ADVISORY
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/pull/23 · WEB
- https://github.com/AhmedAdelFahim/express-xss-sanitizer/commit/62d6542a2a57298da7a2e02de623454007e4f6d6 · WEB
- https://dbugs.ptsecurity.com/vulnerability/PT-2025-37434 · WEB
- https://www.tenable.com/cve/CVE-2025-59364 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 14 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Sep 2025)