CVE-2022-32174Gogs
Critical 9.0
Follow: this CVE · Gogs · Gogs We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 9.0
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 65
- Auth required
- Yes
- Published
- Oct 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
What happens
In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
What to do
- Apply the vendor's security update for Gogs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | gogs.io/gogs |
≥ 0.6.5 ≤ 0.12.10 |
no fixed version | — |
| Go | gogs.io/gogs |
≥ 0.6.5 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-mcjj-2fvq-mc3r, GO-2022-1060). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | ≥ 0.6.5 ≤ 0.12.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- www.mend.io Exploit Third Party Advisory