Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-31038 EUVD-2022-6192GHSA-xq4v-vrp9-vcf2GO-2022-0483

XSS vulnerability in repository issue list in Gogs

Published Jun 8, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does not filter characters input from users, which leads to an XSS vulnerability when directly displayed in the issue list. This issue has been resolved in commit 155cae1d which sanitizes `DisplayName` prior to display to the user. All users of gogs are advised to upgrade. Users unable to upgrade should check their users' display names for malicious characters.

Affected products

VendorProductAffectedFixed
gogs gogs < 0.12.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.12.9 0.12.9 GHSA-xq4v-vrp9-vcf2

References