{"id":"CVE-2024-43799","aliases":["CVE-2024-43799","GHSA-m6fv-jmcg-4jfg"],"related":[],"kind":"vulnerability","state":"published","title":"send vulnerable to template injection that can lead to XSS","summary":"Send is a library for streaming files from the file system as a http response. Send passes untrusted user input to SendStream.redirect() which executes untrusted code. This issue is patched in send 0.19.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Send is a library for streaming files from the file system as a http response. Send passes untrusted user input to SendStream.redirect() which executes untrusted code. This issue is patched in send 0.19.0.","source":"cvelist"},{"lang":"en","text":"### Impact\n\npassing untrusted user input - even after sanitizing it - to `SendStream.redirect()` may execute untrusted code\n\n### Patches\n\nthis issue is patched in send 0.19.0\n\n### Workarounds\n\nusers are encouraged to upgrade to the patched version of express, but otherwise can workaround this issue by making sure any untrusted inputs are safe, ideally by validating them against an explicit allowlist\n\n### Details\n\nsuccessful exploitation of this vector requires the following:\n\n1. The attacker MUST control the input to response.redirect()\n1. express MUST NOT redirect before the template appears\n1. the browser MUST NOT complete redirection before:\n1. the user MUST click on the link in the template","format":"markdown","source":"ghsa"},{"lang":"es","text":"Send es una librería para transmitir archivos desde el sistema de archivos como una respuesta http. Send pasa la entrada de usuario no confiable a SendStream.redirect(), que ejecuta código no confiable. Este problema se solucionó en send 0.19.0.","source":"nvd"}],"published":"2024-09-10T14:45:06.761Z","modified":"2026-09-10T03:50:18.939Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 0.19.0","status":"affected"}],"vendor":"pillarjs","product":"send","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.19.0"}],"ecosystem":"npm","package":"send","purl":"pkg:npm/send","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.19.0"}],"vendor":"send_project","product":"send","cpe":"cpe:2.3:a:send_project:send:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pillarjs/send/security/advisories/GHSA-m6fv-jmcg-4jfg","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pillarjs/send/commit/ae4f2989491b392ae2ef3b0015a019770ae65d35","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00022.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43799","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pillarjs/send","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T19:34:08.487Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43799","url":"https://www.cve.org/CVERecord?id=CVE-2024-43799","licence":"CVE Terms of Use","modified":"2025-11-03T19:30:41.760Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m6fv-jmcg-4jfg","url":"https://github.com/advisories/GHSA-m6fv-jmcg-4jfg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:18.939Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43799","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43799","licence":"Public domain","modified":"2026-06-17T07:51:44.173Z"}],"updatedAt":"2026-11-25T22:58:45.242Z","epss":{"score":0.00541,"percentile":0.46946,"date":"2026-12-01T12:00:22.000Z"}}