Skip to content
Vulnerability Intelligence

CVE-2022-32174

CriticalPublic exploit

Gogs vulnerable to Cross-site Scripting

Published Oct 11, 2022 · Updated Oct 8, 2026 · Also known as GHSA-mcjj-2fvq-mc3r, GO-2022-1060

Key Facts

Patch immediately
  • CVE-2022-32174 is a critical-severity vulnerability (CVSS 9.0 v3.1) affecting Gogs, gogs.io/gogs.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 58% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Gogs 0.13.0-r0, Gogs unspecified, Gogs <=0.12.10.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

9.0

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

EPSS (30-day exploit likelihood)

58%

Higher than 99.0% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2022-32174 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

14 affected entries in total
ProductAffected versionsFixed in
GogsGogs>= v0.6.50.12.10
gogs.io/gogsgo>= 0.6.5n/a

Patched Releases

Gogs

0.13.0-r0, unspecified, <=0.12.10

Timeline

  1. Publicly disclosed

    Oct 11, 2022

  2. Last updated

    Oct 8, 2026

Weakness Type

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

References

2 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-32174 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo