CVE-2024-43800

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-43800
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43800.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-43800
Aliases
Downstream
Related
Published
2024-09-10T14:50:06.043Z
Modified
2025-11-28T02:34:17.001680Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
Summary
serve-static affected by template injection that can lead to XSS
Details

serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43800.json"
}
References

Affected packages

Git / github.com/expressjs/serve-static

Affected ranges

Type
GIT
Repo
https://github.com/expressjs/serve-static
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.16.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/expressjs/serve-static
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.1.0"
        }
    ]
}