MEDIUM
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
Published Aug 8, 2018
6.1
MEDIUMCVSS 3.0
EPSS 1.32%
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
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
6.1 MEDIUM NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
5.8 MEDIUM NVD
AV:N/AC:M/Au:N/C:P/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact None
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
1.32% 0.01316
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.01316
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.32% (0.01316) | 69.73th | v5 (v2026.06.15) |
| Aug 23, 2026 | 1.93% (0.01925) | 78.13th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.13% (0.00131) | 48.60th | v3 (v2023.03.01) |
| Dec 29, 2023 | 0.13% (0.00129) | 47.59th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.11% (0.00107) | 41.88th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.05% (0.01055) | 52.13th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.05% (0.01055) | 27.52th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.83% (0.00833) | 24.94th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.83% (0.00833) | 0.00th | v1 |
Weaknesses (1)
References (5)
- https://github.com/advisories/GHSA-cpgw-2wxr-pww3 Advisory
- https://github.com/gogs/gogs/commit/1f247cf8139cb483276cd8dd06385a800ce9d4b2
- https://github.com/gogs/gogs/issues/5364 x_refsource_MISCExploitThird Party Advisory
- https://github.com/gogs/gogs/pull/5365 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-15178
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-cpgw-2wxr-pww3 | Advisory | |
| https://github.com/gogs/gogs/commit/1f247cf8139cb483276cd8dd06385a800ce9d4b2 | ||
| https://github.com/gogs/gogs/issues/5364 | x_refsource_MISCExploitThird Party Advisory | |
| https://github.com/gogs/gogs/pull/5365 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-15178 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Aug 8, 2018
Updated Aug 5, 2024
Reserved Aug 7, 2018
Link CVE-2018-15178
CISA Vulnrichment
GHSA-CPGW-2WXR-PWW3 Updated n/a