Is github.com/gorilla/websocket 1.1 vulnerable?

Go · 1 release from 1.1.0 to 1.1.0 · latest github.com/gorilla/websocket is 1.5.3 · checked 18 Nov 2026

Yes: 4 known advisories

Yes. github.com/gorilla/websocket 1.1.0, the last 1.1 release, is affected by 4 known security advisories (1 high, 1 medium, 2 low), including CVE-2020-27813, CVE-2020-27813. Upgrade to 1.5.3 or later to fix all of them.

Upgrade with: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

Advisories affecting github.com/gorilla/websocket 1.1.0

  • 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
  • HighCVE-2020-27813GHSA-3xh2-74w9-5vxm18 May 2021

    Integer overflow in github.com/gorilla/websocket

    Affected
    <1.4.1
    Fixed in
    1.4.1
  • LowCVE-2020-27813GO-2020-001914 Apr 2021

    Integer overflow in github.com/gorilla/websocket

    Affected
    <1.4.1
    Fixed in
    1.4.1

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

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.