CVE-2025-59364

Source
https://cve.org/CVERecord?id=CVE-2025-59364
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59364.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-59364
Aliases
Published
2025-09-14T00:00:00Z
Modified
2026-08-12T03:51:38.347039807Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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.

Database specific
{
    "cwe_ids": [
        "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59364.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/ahmedadelfahim/express-xss-sanitizer

Affected ranges

Type
GIT
Repo
https://github.com/ahmedadelfahim/express-xss-sanitizer
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0"
        },
        {
            "fixed": "2.0.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

2.*
2.0.0
V1.*
V1.2.0
v1.*
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59364.json"