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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 14 Sep 2025 22:30:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-09-14T22:27:39.742Z

Reserved: 2025-09-14T00:00:00.000Z

Link: CVE-2025-59364

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-09-14T23:15:37.320

Modified: 2025-09-14T23:15:37.320

Link: CVE-2025-59364

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.