CVE-2024-43800 | serve-static affected by template injection that can lead to XSS

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-10 Last update: 2024-09-20 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-43800 is rated Moderate Risk (46.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.92%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-43800

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-04 0.47% 0.92% +0.45%
2 2026-03-01 0.92% 0.47% -0.45%
3 2026-02-04 0.92%

Full EPSS history (26 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-43800

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.6 3.4 [email protected]
4.7 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 2.7 [email protected]

Weakness enumeration for CVE-2024-43800

GitHub Security Advisory for CVE-2024-43800

GHSA-cm22-4g7w-348p · Severity: low · Ecosystem: npm — serve-static vulnerable to template injection that can lead to XSS

OS Trackers for CVE-2024-43800

vendor priority summary link
debian not yet assigned CVE-2024-43800 not yet assigned priority: Debian including 1 source packages (node-serve-static), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. https://security-tracker.debian.org/tracker/CVE-2024-43800
redhat medium https://access.redhat.com/security/cve/CVE-2024-43800
ubuntu medium CVE-2024-43800 medium priority: Ubuntu including 1 source packages (node-serve-static), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): needs-triage 6, ignored 2, released 1. https://ubuntu.com/security/CVE-2024-43800

Affected software / configurations for CVE-2024-43800

Vendor Product Version Raw CPE
openjsf serve-static < 1.16.0 cpe:2.3:a:openjsf:serve-static:*:*:*:*:*:node.js:*:*
openjsf serve-static >= 2.0.0, < 2.1.0 cpe:2.3:a:openjsf:serve-static:*:*:*:*:*:node.js:*:*

References for CVE-2024-43800

cvelogic Threat Intelligence