Vulnerabilities · 2022 · Gogs
CVE-2022-32174
Gogs vulnerability
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
Gogs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gogs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263 · Exploit
- www.mend.io/vulnerability-database/CVE-2022-32174 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-32174
- pkg.go.dev/vuln/GO-2022-1060
- github.com/advisories/GHSA-mcjj-2fvq-mc3r
- nvd.nist.gov/vuln/detail/CVE-2022-32174
- cve.org/CVERecord?id=CVE-2022-32174
More vulnerabilities in Gogs products
CVE-2026-26276CVE-2026-26196CVE-2025-8110CVE-2024-56731CVE-2024-55947CVE-2024-54148CVE-2024-44625CVE-2024-39933All 35
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.