Vulnerabilities · 2022 · Gogs
CVE-2022-31038
Gogs vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gogs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Gogs products
CVE-2026-26276CVE-2026-26196CVE-2025-8110CVE-2024-56731CVE-2024-55947CVE-2024-54148CVE-2024-44625CVE-2024-39933All 35
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.