connect@1.8.5 vulnerabilities
High performance middleware framework
-
latest version
3.7.0
-
latest non vulnerable version
-
first published
14 years ago
-
latest version published
5 years ago
-
licenses detected
- >=0
Direct Vulnerabilities
Known vulnerabilities in the connect 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.Vulnerability | Vulnerable Version |
---|---|
connect is a stack of middleware that is executed in order in each request. Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The "methodOverride" middleware allows the HTTP post to override the method of the request with the value of the Due to improper user input sanitization, the How to fix Cross-site Scripting (XSS)? Upgrade |
<2.8.2
|
Affected versions of the package are vulnerable to Denial of Service (DoS) attacks. It is possible to crash the node server by requesting a url with a trailing backslash in the end. How to fix Denial of Service (DoS)? Upgrade |
>=1.4.0 <2.0.0
|
connect is a stack of middleware that is executed in order in each request. Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The Because the user post input was not checked, req.method could contain any kind of value. Because the req.method did not match any common method VERB, connect answered with a 404 page containing the "Cannot [method] [url]" content. The method was not properly encoded for output in the browser. Example
Mitigation factors Update to version 2.8.2 or disable methodOverride. It is not possible to avoid the vulnerability if you have enabled this middleware in the top of your stack. History
How to fix Cross-site Scripting (XSS)? Upgrade |
<2.8.2
|