Skip to main content
← All vulnerabilities
CVE-2022-31038GHSA-XQ4V-VRP9-VCF2GO-2022-0483

XSS vulnerability in repository issue list in Gogs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.12.9

  • gogs.io/gogsGo

    fixed in 0.12.9

References 3

GitHub · gogs/gogs