cve.bz

CVE-2022-31038

5.4 mediumEPSS 0.7%

Medium (5.4) in gogs gogs. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in gogs.io/gogs 0.12.9.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xq4v-vrp9-vcf2Gogogs.io/gogs<0.12.90.12.9
GO-2022-0483Gogogs.io/gogs<0.12.90.12.9

References

Check your stackJSON