CVE-2022-32174Gogs XSS
Gogs vulnerable to Cross-site Scripting
Published Oct 11, 2022 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2022-32174, CLEANSTART-2024-KF00050, GHSA-mcjj-2fvq-mc3r, GO-2022-1060
Key Facts
Patch immediately- CVE-2022-32174 is a critical-severity vulnerability (CVSS 9.0 v3.1) affecting Gogs, gogs.io/gogs.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 58% probability of exploitation in the next 30 days.
- Fixed versions are available, including Gogs 0.13.0-r0, Gogs unspecified, Gogs <=0.12.10.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
9.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
58%
Higher than 99.1% of all scored CVEs
Exploit maturity
None known
ATLAS score
32/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
Affected Products
16 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GogsGogs | >= 0.6.5, >= v0.6.5 | 0.12.10 |
| gogs.io/gogsgo | >= 0.6.5 | n/a |
Patched Releases
Gogs
0.13.0-r0, unspecified, <=0.12.10
Timeline
Publicly disclosed
Oct 11, 2022
Last updated
Nov 3, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-32174
- advisorysecurity.alpinelinux.org · CVE-2022-32174
- advisoryGHSA advisory
- articleosv.dev · CVE-2022-32174
FAQ
Common Questions.
In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
Affected: Gogs versions >= 0.6.5, >= v0.6.5; gogs.io/gogs versions >= 0.6.5. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Gogs 0.13.0-r0, Gogs unspecified, Gogs <=0.12.10.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-32174 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo