CVEvulnerability
CVE-2026-82402
5.3 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-10-14
- Last modified
- 2026-10-20
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 5.3 MEDIUM — CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/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
- Weaknesses
- CWE-601
Description
Gogs is an open source self-hosted Git service. Prior to 0.15.0+dev, an unauthenticated attacker can provide a backslash-containing target to the /redirect endpoint, and similar post-action redirect flows are also affected. internal/urlx/urlx.go IsSameSite validates a normalized form of the target while cmd/gogs/internal/web/web.go getRedirect and other callers use the original value in the Location response. This backslash normalization mismatch lets browsers interpret the Location value as a scheme-relative external URL, allowing links on a trusted Gogs domain to redirect victims to attacker-controlled content for phishing. This vulnerability is fixed in 0.15.0+dev.
Related
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://github.com/gogs/gogs/blob/main/CHANGELOG.md#0150dev-main github.com
- https://github.com/gogs/gogs/commit/0aa820e6d572771551871c0b5f5f32dffc565e3e github.com
- https://github.com/gogs/gogs/pull/8391 github.com
- https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6 github.com
- https://github.com/gogs/gogs/security/advisories/GHSA-3g28-2vwg-gxq6 github.com