Vulnerability · Published Oct 11, 2022 · Assigned by Mend

CVE-2022-32174Gogs - XSS

Critical 9.0

In plain English

A critical-severity cross-site scripting in gogs from gogs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 58.2% (higher than 99.1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.0Critical
Exploit odds (30 days)58.2%top 0.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20gogs0.13.0-r0ALPINE-CVE-2022-32174
Gogogs.io/gogsno fix listedGHSA-mcjj-2fvq-mc3r
Gogogs.io/gogsno fix listedGO-2022-1060

Affected products (as reported)

VendorProductVersions
gogs gogs v0.6.5 – before unspecifiedunspecified – through v0.12.10

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

References