Upstream information
Description
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.SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
SUSE | |
---|---|
Base Score | 5.3 |
Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
Attack Vector | Network |
Attack Complexity | High |
Privileges Required | None |
User Interaction | Required |
Scope | Unchanged |
Confidentiality Impact | None |
Integrity Impact | High |
Availability Impact | None |
CVSSv3 Version | 3.1 |
CNA (GitHub) | SUSE | |
---|---|---|
Base Score | 5.4 | 6 |
Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Attack Vector | Network | Network |
Attack Complexity | Low | High |
Attack Requirements | Present | None |
Privileges Required | None | None |
User Interaction | Passive | Passive |
Vulnerable System Confidentiality Impact | None | None |
Vulnerable System Integrity Impact | High | High |
Vulnerable System Availability Impact | None | None |
Subsequent System Confidentiality Impact | None | None |
Subsequent System Integrity Impact | None | None |
Subsequent System Availability Impact | None | None |
CVSSv4 Version | 4.0 | 4.0 |
SUSE Security Advisories:
- openSUSE-SU-2025:15017-1, published Thu Apr 24 18:51:05 2025
List of released packages
Product(s) | Fixed package version(s) | References |
---|---|---|
openSUSE Tumbleweed |
| Patchnames: openSUSE-Tumbleweed-2025-15017 |
SUSE Timeline for this CVE
CVE page created: Tue Apr 15 08:00:25 2025CVE page last modified: Thu Apr 24 20:10:44 2025