CVE-2024-43800

MEDIUM EPSS 44.0%
Published Sep 10, 20241y ago · Modified Jun 17, 20261w ago
4.7 CVSS 3.1
Medium
Find Similar
Published Sep 10, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

Description

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.

CVSS Details

Base Score
4.7
Exploitability
1.6
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
44.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 2

VendorProductVersionRange
openjsfserve-static* <1.16.0
openjsfserve-static*≥2.0.0  –  <2.1.0

References 3

  • github.com https://github.com/expressjs/serve-static/commit/0c11fad159898cdc69fd9ab63269b72468ecaf6b
    Patch
  • github.com https://github.com/expressjs/serve-static/commit/ce730896fddce1588111d9ef6fdf20896de5c6fa
    Patch
  • github.com https://github.com/expressjs/serve-static/security/advisories/GHSA-cm22-4g7w-348p
    Vendor Advisory

Remediation

  • github.com https://github.com/expressjs/serve-static/commit/0c11fad159898cdc69fd9ab63269b72468ecaf6b
    Patch
  • github.com https://github.com/expressjs/serve-static/commit/ce730896fddce1588111d9ef6fdf20896de5c6fa
    Patch