Skip to content
OpenAdvisories
Critical · 9.0 CVE-2022-32174 EUVD-2022-7125GHSA-mcjj-2fvq-mc3rGO-2022-1060

Gogs - XSS

Published Oct 11, 2022 · Updated May 16, 2025 · 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.

Affected products

VendorProductAffectedFixed
gogs gogs v0.6.5 – < unspecified, unspecified – ≤ v0.12.10 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.20 gogs 0.13.0-r0 —
Alpine v3.19 gogs 0.13.0-r0 —
Alpine v3.18 gogs 0.13.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs >= 0.6.5, <= 0.12.10 — GHSA-mcjj-2fvq-mc3r
Go gogs.io/gogs >= 0.6.5 — GO-2022-1060

References