CVE-2022-32174
CVE-2022-32174 is a critical-severity vulnerability in Gogs with a CVSS 3.x base score of 9.0. Its EPSS exploit-prediction score of 58% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Critical (CVSS 3.x base score 9.0)
- EPSS exploit prediction: 58% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Gogs
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2022-32174?
- CVE-2022-32174 has a CVSS 3.x base score of 9.0, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-32174 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 58% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-32174?
- CVE-2022-32174 affects Gogs. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-32174?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2022-32174 published?
- CVE-2022-32174 was published on 2022-10-11 and last updated on 2026-06-17.
References
- https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263
- https://www.mend.io/vulnerability-database/CVE-2022-32174
Affected products (1)
- cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
More vulnerabilities in Gogs
- CVE-2024-56731 — Critical (CVSS 10.0): Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the…
- CVE-2024-39932 — Critical (CVSS 9.9): Gogs through 0.13.0 allows argument injection during the previewing of changes.
- CVE-2024-39931 — Critical (CVSS 9.9): Gogs through 0.13.0 allows deletion of internal files.
- CVE-2024-39930 — Critical (CVSS 9.9): The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code…
- CVE-2026-25242 — Critical (CVSS 9.8): Gogs is an open source self-hosted Git service. Versions 0.13.4 and below expose unauthenticated file upload endpoints…
- CVE-2025-64111 — Critical (CVSS 9.8): Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for…
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →