CVE-2022-31038: Gogs
Medium severity, CVSS 5.4. EPSS: 0.7% chance of exploitation in the next 30 days.
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
- Gogs Gogs: before 0.12.9 (fixed in 0.12.9)
Published 2022-06-09. Last modified 2026-06-17.