Is github.com/gorilla/websocket 1.4 vulnerable?
Go · 3 releases from 1.4.0 to 1.4.2 · latest github.com/gorilla/websocket is 1.5.3 · checked 18 Nov 2026
Yes: 2 known advisories
Yes. github.com/gorilla/websocket 1.4.2, the last 1.4 release, is affected by 2 known security advisories (1 medium, 1 low). 2 more affect earlier 1.4.x releases. Upgrade to 1.5.3 or later to fix all of them.
go get github.com/gorilla/websocket@v1.5.3Is your project on an affected github.com/gorilla/websocket?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting github.com/gorilla/websocket 1.4.2
Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket
- Affected
- <1.5.3
- Fixed in
- 1.5.3
Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key
- Affected
- <1.5.3
- Fixed in
- 1.5.3
Fixed within 1.4.x, affecting earlier releases
Integer overflow in github.com/gorilla/websocket
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Integer overflow in github.com/gorilla/websocket
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Every github.com/gorilla/websocket 1.4.x release
Affected: 1.4.0 to 1.4.2. Latest github.com/gorilla/websocket: 1.5.3.
| Version | Known advisories |
|---|---|
| github.com/gorilla/websocket 1.4.2 | GO-2026-6278, GHSA-w67g-5rqw-f597 |
| github.com/gorilla/websocket 1.4.1 | GO-2026-6278, GHSA-w67g-5rqw-f597 |
| github.com/gorilla/websocket 1.4.0 | GO-2026-6278, GHSA-w67g-5rqw-f597, CVE-2020-27813, CVE-2020-27813 |
Which of your client projects are still on github.com/gorilla/websocket 1.4?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact github.com/gorilla/websocket version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other github.com/gorilla/websocket versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Go registry. Refreshed daily.