ADVISORIES

GitHub Advisory Database

GHSA-jcr6-mmjj-pchw

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

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/gorilla/handlers
All versions before 1.3.0 (fixed in 1.3.0)

References