Live threats

All CVEs / Openjsf

CVE-2024-43800Openjsf Serve-static

Medium 4.7 No auth needed

Priority
43
CVSS 3.1
4.7
EPSS
0.9%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Sep 10, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Serve-static.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm serve-static < 1.16.0 1.16.0 npm install serve-static@1.16.0
npm serve-static ≥ 2.0.0 < 2.1.0 2.1.0 npm install serve-static@2.1.0

Per OSV / GitHub Advisories (GHSA-cm22-4g7w-348p). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
openjsfserve-static< 1.16.0
openjsfserve-static≥ 2.0.0 < 2.1.0

Official sources

References

Links published by the sources. Open them with care.