CVE-2025-47909: Golang github gorilla csrf · Hosts listed in TrustedOrigins implicitly allow requests from the
Affects golang-github-gorilla-csrfSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.3 High.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 29 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-gorilla-csrfpkg:deb/ubuntu/golang-github-gorilla-csrf?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-gorilla-csrfpkg:deb/ubuntu/golang-github-gorilla-csrf?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-github-gorilla-csrfpkg:deb/ubuntu/golang-github-gorilla-csrf?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-github-gorilla-csrfpkg:deb/ubuntu/golang-github-gorilla-csrf?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSgolang-github-gorilla-csrfpkg:deb/ubuntu/golang-github-gorilla-csrf?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSgolang-github-gorilla-csrfpkg:deb/ubuntu/golang-github-gorilla-csrf?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Hosts listed in TrustedOrigins implicitly allow requests from the corresponding HTTP origins, allowing network MitMs to perform CSRF attacks. After the CVE-2025-24358 fix, a network attacker that places a form at http://example.com can't get it to submit to https://example.com because the Origin header is checked with sameOrigin against a synthetic URL. However, if a host is added to TrustedOrigins, both its HTTP and HTTPS origins will be allowed, because the schema of the synthetic URL is ignored and only the host is checked. For example, if an application is hosted on https://example.com and adds example.net to TrustedOrigins, a network attacker can serve a form at http://example.net to perform the attack. Applications should migrate to net/http.CrossOriginProtection, introduced in Go 1.25. If that is not an option, a backport is available as a module at filippo.io/csrf, and a drop-in replacement for the github.com/gorilla/csrf API is available at filippo.io/csrf/gorilla.