CVE-2024-43799 send vulnerable to template injection that can lead to XSS
Attackers can inject malicious scripts via untrusted input in the send library, leading to XSS and potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-43799?
CVE-2024-43799 is a medium-severity cross-site scripting vulnerability in pillarjs send, published on 10 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2024-43799?
2 open source packages ship an affected version, including send. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
send npm | All versions | 0.19.0 |
send npm | All versions | 0.19.0 |
Products include Send Project Send.
How do I fix CVE-2024-43799?
Upgrade send to 0.19.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-43799 being exploited?
There is no known exploitation of CVE-2024-43799 in the wild and no public exploit code.
Other vulnerabilities in pillarjs send
Sources
Also known as AZL-49088, AZL-49123, AZL-49164, CLSA-2026-1791841547, CLSA-2026-1791850713, CLSA-2026-1792477991 and 10 more.