GHSA-cpgr-wmr9-qxv4
medium
Cross-Site Scripting in serve
- Severity
- medium rating by GitHub
- Published
- Last changed
Description
Versions of serve prior to 10.0.2 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize filenames, allowing attackers to execute arbitrary JavaScript in the victim's browser through files with names containing malicious code.
Recommendation
Upgrade to version 10.0.2 or later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| serve (npm) | before 10.0.2 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-cpgr-wmr9-qxv4 changed 2020-08-31 | CC-BY-4.0 |