serve-static vulnerabilities
Serve static files
- Registry
- npm
- Latest
- 2.2.1
- License
- MIT
2 known advisories
The latest version, 2.2.1, is not affected by any of them. Projects on older versions may be.
Update to the latest version:
npm install serve-static@2.2.1Is your project on an affected serve-static?
Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for serve-static
serve-static vulnerable to template injection that can lead to XSS
- Affected
- <1.16.0 · >=2.0.0 <2.1.0
- Fixed in
- 1.16.0, 2.1.0
Open Redirect in serve-static
- Affected
- <1.7.2 · >=1.7.0 <1.7.2
- Fixed in
- 1.7.2
Is your serve-static version vulnerable?
- serve-static 2.2No known advisories in 2.2.1
- serve-static 2.1No known advisories in 2.1.0
- serve-static 2.01 advisory in 2.0.0
- serve-static 1.16No known advisories in 1.16.3
- serve-static 1.151 advisory in 1.15.0
- serve-static 1.141 advisory in 1.14.2
- serve-static 1.131 advisory in 1.13.2
- serve-static 1.121 advisory in 1.12.6
- serve-static 1.111 advisory in 1.11.2
Which of your client projects still run an old serve-static?
NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other npm packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.