Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2022-32174

CVE-2022-32174: Gogs vulnerable to Cross-site Scripting

October 11, 2022 (updated May 28, 2025)

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

References

  • github.com/advisories/GHSA-mcjj-2fvq-mc3r
  • github.com/gogs/gogs
  • github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js
  • nvd.nist.gov/vuln/detail/CVE-2022-32174
  • pkg.go.dev/vuln/GO-2022-1060
  • www.mend.io/vulnerability-database/CVE-2022-32174

Code Behaviors & Features

Detect and mitigate CVE-2022-32174 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.6.5 up to 0.12.10

Solution

Unfortunately, there is no solution available yet.

Impact 9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/gogs.io/gogs/CVE-2022-32174.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:15 +0000.