npm package report

Is serve-static safe?

serve-static (npm) has 2 known vulnerabilities, the worst rated LOW. Upgrade to 2.1.0 or later to clear all of them. No malicious-package signal is recorded.

// reach

5 direct dependencies

1 carry known advisories, worst MEDIUM

53 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
5.0
medium

CVSS v3.1 base score out of 10; GitHub rates it LOW

epss
0.63%
medium

chance of exploitation in 30 days, 51st percentile of all CVEs

xyz score
2.4
low

CyberXYZ composite out of 10

fig. 01 — GHSA-cm22-4g7w-348p, the advisory selected below

// 2 advisories

passing untrusted user input - even after sanitizing it - to redirect() may execute untrusted code

Full advisory text at GitHub advisory or NVD.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
// questions
Is serve-static safe to install?

CyberXYZ does not call a package safe in absolute terms. It records 2 known vulnerabilities for serve-static (npm), the worst rated LOW, and no malicious-package signal. Whether it is acceptable depends on the version you run.

Does serve-static have known vulnerabilities?

Yes. CyberXYZ records 2 known vulnerabilities for serve-static (npm), the worst rated LOW. They are GHSA-cm22-4g7w-348p, GHSA-c3x7-gjmx-r2ff.

Which version of serve-static should I use?

2.1.0 or later clears every advisory recorded for serve-static (npm). Check the release you pick before installing it.

How do I check serve-static before installing?

Search serve-static in CyberXYZ Check at https://cyberxyz.io/check?q=serve-static. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-14 at 06:01 UTC. The most recent advisory here was published 2024-09-10. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.