github.com/rs/cors vulnerabilities

Registry
Go
Latest
1.11.1

4 known advisories

The latest version, 1.11.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:go get github.com/rs/cors@v1.11.1

Is your project on an affected github.com/rs/cors?

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

Security advisories for github.com/rs/cors

  • MediumCVE-2025-47908GHSA-mh55-gqvf-xfwm5 Jul 2024

    Denial of service via malicious preflight requests in github.com/rs/cors

    Affected
    >=1.9.0 <1.11.0
    Fixed in
    1.11.0
  • LowCVE-2025-47908GO-2024-28832 Jul 2024

    Denial of service via malicious preflight requests in github.com/rs/cors

    Affected
    >=1.9.0 <1.11.0
    Fixed in
    1.11.0
  • LowCVE-2018-20744GO-2023-17928 Jun 2023

    Insecure wildcard CORS policy in github.com/rs/cors

    Affected
    <1.5.0
    Fixed in
    1.5.0
  • MediumCVE-2018-20744GHSA-927h-x4qj-r24214 May 2022

    github.com/gofiber/fiber/v2 vulnerable to Origin Validation Error

    Affected
    <1.5.0
    Fixed in
    1.5.0

Is your github.com/rs/cors version vulnerable?

Which of your client projects still run an old github.com/rs/cors?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.