What’s Vulnerable › Vulnerabilities
CVE-2018-15178
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-08-08 · updated 2026-06-17
- Weakness: CWE-601
Description
Open redirect vulnerability in Gogs before 0.12 allows remote attackers to redirect users to arbitrary websites and conduct phishing attacks via an initial /\ substring in the user/login redirect_to parameter, related to the function isValidRedirect in routes/user/auth.go.
Affected products
- gogs: before 0.12 — fixed in 0.12
How to fix
Upgrade to a fixed version: gogs 0.12. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/issues/5364
- https://github.com/gogs/gogs/pull/5365
- https://github.com/gogs/gogs/issues/5364
- https://github.com/gogs/gogs/pull/5365
Get alerted when CVE-2018-15178 or the next vulnerability affects your stack