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

EcosystemPackageFixed inAdvisory
npmexpress-xss-sanitizer2.0.1GHSA-hvq2-wf92-j4f3

Affected products (as reported)

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References