Critical severity · published Oct 11, 2022
CVE-2022-32174
In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
9.0
CVSS
58%
EPSS
No
On KEV
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)58.0% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
gogs · gogs
v0.6.5 before unspecified; through v0.12.10 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-32174
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-32174
Exploit
https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263
Exploit
https://www.mend.io/vulnerability-database/CVE-2022-32174
More from gogs
8.8
CVE-2025-8110
File overwrite in file update API in Gogs
10.0
CVE-2026-52813
Gogs: Path Traversal in organization name results in RCE through Git hooks
9.9
CVE-2026-52806
Gogs: RCE via git rebase --exec argument injection in pull request merge
9.9
CVE-2024-39932
Gogs through 0.13.0 allows argument injection during the previewing of changes
9.9
CVE-2024-39931
Gogs through 0.13.0 allows deletion of internal files
