GHSA-rq77-p4h8-4crw · Severity: medium · Ecosystem: go — gorilla/csrf CSRF vulnerability due to broken Referer validation
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.
Conclusion & alert: CVE-2025-24358 is rated Low Risk (30.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.09%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-09 | 0.02% | 0.09% | +0.07% |
| 2 | 2025-04-16 | — | 0.02% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 4.0 | MEDIUM |
|
— | — | [email protected] |
GHSA-rq77-p4h8-4crw · Severity: medium · Ecosystem: go — gorilla/csrf CSRF vulnerability due to broken Referer validation
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-24358 not yet assigned priority: Debian including 1 source packages (golang-github-gorilla-csrf), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2025-24358 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2025-24358/ |
ubuntu
|
medium | CVE-2025-24358 medium priority: Ubuntu including 1 source packages (golang-github-gorilla-csrf), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 5, ignored 2. | https://ubuntu.com/security/CVE-2025-24358 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||