Description
Cross-site scripting (XSS) vulnerability in the serve-index package before 1.6.3 for Node.js allows remote attackers to inject arbitrary web script or HTML via a crafted file or directory name.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-serve-index | 1.9.1-1 | — |
| Debian 13 | node-serve-index | 1.9.1-1 | — |
| Debian 12 | node-serve-index | 1.9.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-serve-index | No fix yet | — |
| Ubuntu 16.04 LTS | node-serve-index | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | serve-index | < 1.6.3 | 1.6.3 | GHSA-v633-x5vv-hqwc |