# CVE-2026-133111: @fastify/http-proxy vulnerable to Cross-Site WebSocket Hijacking via dropped Origin header

- Severity: Medium 5.9 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-11-19T18:16:29.982Z
- Modified: 2026-11-23T16:17:32.597Z
- Weaknesses: CWE-1385
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

## Description

@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions from 7.1.0 up to but not including 11.6.10, when the plugin is registered with websocket support enabled, it opens the upstream WebSocket connection with a header set built by the default header rewriter, which forwards the client cookie but never sets the upstream origin option, so the browser origin header is dropped while the authenticating cookie is forwarded. Many WebSocket servers defend against cross-site hijacking by checking the origin and treat a missing origin as a trusted non-browser client, so behind the proxy that check never sees the foreign origin. A malicious page visited by a logged-in user can therefore open a WebSocket through the proxy to an upstream that authenticates the handshake with a cookie, and read or send messages on the user's behalf. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later. As a workaround, provide a header rewriter that sets a correct origin, or validate the origin before the proxy.

(As written by CVE List.)

## Affected

- @fastify/http-proxy @fastify/http-proxy: from 7.1.0 before 11.6.10 (not affected: 11.6.10)

## References

- <https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-w3r4-6w5h-3vrc>
- <https://cna.openjsf.org/security-advisories.html>

## Sources

- CVE List: [CVE-2026-133111](https://www.cve.org/CVERecord?id=CVE-2026-133111), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-133111](https://nvd.nist.gov/vuln/detail/CVE-2026-133111), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-133111 · Whole record: https://cve.day/CVE-2026-133111.json · Rebuilt by cve.day 2026-11-25T22:59:52.178Z
