1.16.2
11 years ago
6 months ago
Known vulnerabilities in the serve-static package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for freeVulnerability | Vulnerable Version |
---|---|
serve-static is a server. Affected versions of this package are vulnerable to Cross-site Scripting due to improper sanitization of user input in the Note To exploit this vulnerability, the following conditions are required:
How to fix Cross-site Scripting? Upgrade | <1.16.0>=2.0.0 <2.1.0 |
When using serve-static middleware version < 1.7.2 and it's configured to mount at the root, it creates an open redirect on the site. Source: Node Security Project How to fix Open Redirect?
| <1.6.5>=1.7.0 <1.7.2 |