CVE-2022-31038
MEDIUMGogs < 0.12.9 - Stored Cross-Site Scripting via Unsanitized DisplayName
Title source: llmDescription
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.
References (3)
Core 3
Core References
Issue Tracking, Third Party Advisory x_refsource_confirm
https://github.com/gogs/gogs/security/advisories/GHSA-xq4v-vrp9-vcf2
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/gogs/gogs/pull/7009
Patch, Third Party Advisory x_refsource_misc
https://github.com/gogs/gogs/commit/155cae1de8916fc3fde78f350763034b7422caee
Scores
CVSS v3
5.4
EPSS
0.0067
EPSS Percentile
47.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
gogs/gogs
< 0.12.9
gogs.io/gogs
0 - 0.12.9Go
Published
Jun 09, 2022
Tracked Since
Feb 18, 2026