Skip to content
Fencer Vulns
critical 9.0

CVE-2022-32174 in the critical feed json

Gogs - XSS

published 2022-10-11 4 y ago modified 2026-06-17 4 mo ago also GHSA-mcjj-2fvq-mc3r , GO-2022-1060 , EUVD-2022-7125

cvss
9.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
58.2%
EPSS 58.2% chance of exploitation in 30 days, percentile 99%
public exploits
0
none known

Summary

In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.

Patch / fix

  • gogs Alpine 3.20, Alpine 3.19, Alpine 3.18 0.13.0-r0

alpine advisories ALPINE-CVE-2022-32174

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
17 mo ago

Exploit prediction

58.25% chance of exploitation in the next 30 days, higher than 99% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • mend.io https://www.mend.io/vulnerability-database/CVE-2022-32174 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD 3.1 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CNA 3.1 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub 3.1 9.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go gogs.io/gogs
>=0.6.5, <=0.12.10
>=0.6.5
no fix listed

Affected products

  • gogs gogs

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.