Skip to content

chore(deps): update dependency connect to v1.9.2 [security]#59

Open
sc-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-connect-vulnerability
Open

chore(deps): update dependency connect to v1.9.2 [security]#59
sc-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-connect-vulnerability

Conversation

@sc-renovate
Copy link
Copy Markdown

@sc-renovate sc-renovate bot commented Mar 30, 2026

This PR contains the following updates:

Package Change Age Confidence
connect =1.8.6=1.9.2 age confidence

GitHub Vulnerability Alerts

CVE-2013-7370

Connect is a stack of middleware that is executed in order in each request.

The "methodOverride" middleware allows the http post to override the method of the request with the value of the "_method" post key or with the header "x-http-method-override".

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:

~ curl "localhost:3000" -d "_method=<script src=http://nodesecurity.io/xss.js></script>"
Cannot <SCRIPT SRC=HTTP://NODESECURITY.IO/XSS.JS></SCRIPT> /

Recommendation

Update to the newest version of Connect or disable methodOverride. It is not possible to avoid the vulnerability if you have enabled this middleware in the top of your stack.

CVE-2018-3717

connect node module before 2.14.0 suffers from a Cross-Site Scripting (XSS) vulnerability due to a lack of validation of file in directory.js middleware.

CVE-2013-7371

node-connect before 2.8.2 has cross site scripting in Sencha Labs Connect middleware (vulnerability due to incomplete fix for CVE-2013-7370)

Overview

Connect is a stack of middleware that is executed in order in each request.

The "methodOverride" middleware allows the http post to override the method of the request with the value of the "_method" post key or with the header "x-http-method-override".

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:

~ curl "localhost:3000" -d "_method=<script src=http://nodesecurity.io/xss.js></script>"
Cannot <SCRIPT SRC=HTTP://NODESECURITY.IO/XSS.JS></SCRIPT> /

Recommendation

Update to the newest version of Connect or disable methodOverride. It is not possible to avoid the vulnerability if you have enabled this middleware in the top of your stack.

Credit:

Sergio Arcos


Release Notes

senchalabs/connect (connect)

v1.9.2

Compare Source

v1.9.1

Compare Source

v1.9.0

Compare Source

v1.8.7

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@sc-renovate sc-renovate bot force-pushed the renovate/npm-connect-vulnerability branch from 06a4779 to b9eec80 Compare March 31, 2026 03:33
@sc-renovate sc-renovate bot changed the title chore(deps): update dependency connect to v1.9.2 [security] chore(deps): update dependency connect to v2 [security] Mar 31, 2026
@sc-renovate sc-renovate bot force-pushed the renovate/npm-connect-vulnerability branch from b9eec80 to 0a94169 Compare April 1, 2026 09:41
@sc-renovate sc-renovate bot changed the title chore(deps): update dependency connect to v2 [security] chore(deps): update dependency connect to v1.9.2 [security] Apr 1, 2026
@sc-renovate sc-renovate bot force-pushed the renovate/npm-connect-vulnerability branch 8 times, most recently from 5b40076 to 713f8ce Compare April 9, 2026 00:10
@sc-renovate sc-renovate bot force-pushed the renovate/npm-connect-vulnerability branch 6 times, most recently from bb087a9 to 328cde2 Compare April 15, 2026 19:21
@sc-renovate sc-renovate bot force-pushed the renovate/npm-connect-vulnerability branch from 328cde2 to 74fe357 Compare April 16, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

0 participants