{"id":"CVE-2024-43800","aliases":["GHSA-cm22-4g7w-348p"],"url":"https://o3.security/vulnerability/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.","published":"2024-09-10T14:50:06.043Z","modified":"2026-08-12T03:51:29.152361727Z","cvss":{"score":5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"serve-static","fixedVersion":"1.16.0"},{"ecosystem":"npm","name":"serve-static","fixedVersion":"2.1.0"}],"fix":{"url":"https://github.com/expressjs/serve-static/commit/0c11fad159898cdc69fd9ab63269b72468ecaf6b","label":"expressjs/serve-static@0c11fad"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:29.152361727Z"}}