All vulnerabilities

Servers and applications

CVE-2018-15178

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.

Severity
Medium 6.1
Published
8 Aug 2018
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.12
Exploit chance
1.3% in the next 30 daysHigher than 71% of CVEs. EPSS by FIRST, 10 Nov 2026
Weakness
Open redirect (CWE-601)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Sources
NVD

Affected software

SoftwareAffected versions
GogsServers and applications · cpe:a:gogs:gogs
  • Every version before 0.12

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-15178
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-15178