{"id":"CVE-2025-59364","details":"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.","aliases":["GHSA-hvq2-wf92-j4f3"],"modified":"2026-08-12T03:51:38.347039807Z","published":"2025-09-14T00:00:00Z","database_specific":{"cna_assigner":"mitre","cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59364.json"},"references":[{"type":"WEB","url":"https://gist.github.com/Spendroslav/177804eaef5acfb222a550de212a1b94"},{"type":"WEB","url":"https://www.npmjs.com/package/express-xss-sanitizer"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59364.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59364"},{"type":"PACKAGE","url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ahmedadelfahim/express-xss-sanitizer","events":[{"introduced":"0"},{"fixed":"58f447a234d6ef17e8ae52300f49e0efe6c08a29"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.0.0"},{"fixed":"2.0.0"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["2.0.0","V1.2.0","v1.1.6","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59364.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}