# CVE-2022-32174: Gogs - XSS

- Severity: Critical 9.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 58.2%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-10-11T14:20:16.527Z
- Modified: 2026-06-17T04:46:48.870Z
- Also known as: GHSA-mcjj-2fvq-mc3r, GO-2022-1060
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Mend

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: from v0.6.5 before unspecified; from unspecified up to v0.12.10; from 0.6.5 up to 0.12.10
- gogs.io/gogs (Go): from 0.6.5 up to 0.12.10; from 0.6.5

## Every score

- CISA-ADP: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://www.mend.io/vulnerability-database/CVE-2022-32174> (exploit, third-party-advisory, web)
- <https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32174> (advisory)
- <https://github.com/gogs/gogs> (package)
- <https://pkg.go.dev/vuln/GO-2022-1060> (web)
- <https://github.com/advisories/GHSA-mcjj-2fvq-mc3r> (advisory)

## Sources

- CVE List: [CVE-2022-32174](https://www.cve.org/CVERecord?id=CVE-2022-32174), CVE Terms of Use, modified 2025-05-16
- GitHub Advisory Database: [GHSA-mcjj-2fvq-mc3r](https://github.com/advisories/GHSA-mcjj-2fvq-mc3r), CC-BY-4.0, modified 2025-05-28
- Go Vulnerability Database: [GO-2022-1060](https://pkg.go.dev/vuln/GO-2022-1060), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-32174](https://nvd.nist.gov/vuln/detail/CVE-2022-32174), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-32174 · Whole record: https://cve.day/CVE-2022-32174.json · Rebuilt by cve.day 2026-11-25T22:58:15.526Z
