CVE-2025-24358
Fix Status by Distribution
Fixed in 2 of 27 tracked Linux releases
Fix evidence last checked: 2026-08-13 12:01 UTC
Get alerted when your releases are fixedFixed in:
Debian 11 (Bullseye)
DLA-4151-1 · Published: 2025-05-01
Debian 13 (Trixie)
Debian Security Tracker · Observed 2026-08-13
No fix evidence found:
gorilla/csrf provides Cross Site Request Forgery (CSRF) prevention middleware for Go web applications & services. Prior to 1.7.2, gorilla/csrf does not validate the Origin header against an allowlist. Its executes its validation of the Referer header for cross-origin requests only when it believes the request is being served over TLS. It determines this by inspecting the r.URL.Scheme value. However, this value is never populated for "server" requests per the Go spec, and so this check does not run in practice. This vulnerability allows an attacker who has gained XSS on a subdomain or top level domain to perform authenticated form submissions against gorilla/csrf protected targets that share the same top level domain. This vulnerability is fixed in 1.7.2.
Exploit evidence
Last checked: 2026-11-27 19:44 UTC
Proof of concept · CISA Coordinator (Assessed 2025-04-15 19:53 UTC)