VDB
Sign up
CRITICAL9.8

GHSA-jcr6-mmjj-pchw

gorilla/handlers may allow requester to bypass expected behavior of the Same Origin Policy

Quick fix

GHSA-jcr6-mmjj-pchw — github.com/gorilla/handlers: upgrade to the fixed version with the command below.

go get github.com/gorilla/handlers@v1.3.0

Details

Usage of the CORS handler may apply improper CORS headers, allowing the requester to explicitly control the value of the Access-Control-Allow-Origin header, which bypasses the expected behavior of the Same Origin Policy.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/gorilla/handlers
Introduced in: 0Fixed in: 1.3.0
Fixgo get github.com/gorilla/handlers@v1.3.0

References