Is github.com/gorilla/websocket 1.5 vulnerable?

Go · 4 releases from 1.5.0 to 1.5.3 · latest github.com/gorilla/websocket is 1.5.3 · checked 18 Nov 2026

No known advisories in the last release

github.com/gorilla/websocket 1.5.3, the last 1.5 release, has no known advisories. 2 advisories affect earlier 1.5.x releases, so update to 1.5.3.

Update within 1.5:go get github.com/gorilla/websocket@v1.5.3

Is your project on an affected github.com/gorilla/websocket?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 1.5.x, affecting earlier releases

  • LowGO-2026-627825 Aug 2026

    Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket

    Affected
    <1.5.3
    Fixed in
    1.5.3
  • MediumGHSA-w67g-5rqw-f59724 Aug 2026

    Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key

    Affected
    <1.5.3
    Fixed in
    1.5.3

Every github.com/gorilla/websocket 1.5.x release

Affected: 1.5.0 to 1.5.2. 1.5.3 is not affected.

VersionKnown advisories
github.com/gorilla/websocket 1.5.3None
github.com/gorilla/websocket 1.5.2GO-2026-6278, GHSA-w67g-5rqw-f597
github.com/gorilla/websocket 1.5.1GO-2026-6278, GHSA-w67g-5rqw-f597
github.com/gorilla/websocket 1.5.0GO-2026-6278, GHSA-w67g-5rqw-f597

Which of your client projects are still on github.com/gorilla/websocket 1.5?

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.