CVE-2024-43800

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-43800
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43800.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-43800
Aliases
Downstream
Related
Published
2024-09-10T14:50:06Z
Modified
2025-10-22T18:43:20.563851Z
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
{
    "cwe_ids": [
        "CWE-79"
    ]
}
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
Type
GIT
Repo
https://github.com/expressjs/serve-static
Events

Affected versions

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.1.0
v1.10.0
v1.10.1
v1.10.2
v1.10.3
v1.11.0
v1.11.1
v1.11.2
v1.12.0
v1.12.1
v1.12.2
v1.12.3
v1.12.4
v1.12.5
v1.12.6
v1.13.0
v1.13.1
v1.13.2
v1.14.0
v1.14.1
v1.14.2
v1.15.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.1
v1.9.0
v1.9.1
v1.9.2
v1.9.3

v2.*

v2.0.0