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-10-21T02:54:08Z
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
{
    "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

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
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.0.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "ZeroIntroducedSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.0.0"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

V1.*
V1.2.0
v1.*
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.6
v2.*
v2.0.0

Database specific

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