{"id":"CVE-2024-43800","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.","aliases":["GHSA-cm22-4g7w-348p"],"modified":"2026-05-28T03:55:17.636484105Z","published":"2024-09-10T14:50:06.043Z","related":["CGA-gqh4-c8gf-45p5"],"database_specific":{"cwe_ids":["CWE-79"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43800.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43800.json"},{"type":"ADVISORY","url":"https://github.com/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43800"},{"type":"FIX","url":"https://github.com/expressjs/serve-static/commit/0c11fad159898cdc69fd9ab63269b72468ecaf6b"},{"type":"FIX","url":"https://github.com/expressjs/serve-static/commit/ce730896fddce1588111d9ef6fdf20896de5c6fa"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/expressjs/serve-static","events":[{"introduced":"707f803715ccbd2030aa87a6f756fb040a946262"},{"fixed":"87c5f092ed7cd23202f699b08c7f407c2b536df0"}]}],"versions":["v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43800.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"}]}