Skip to main content
← All vulnerabilities
CVE-2026-26022GO-2026-4620GHSA-XRCR-GMF5-2R8J

Gogs: Stored XSS via data URI in issue comments

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

Summary

Gogs is an open source self-hosted Git service. Prior to version 0.14.2, a stored cross-site scripting (XSS) vulnerability exists in the comment and issue description functionality. The application's HTML sanitizer explicitly allows data: URI schemes, enabling authenticated users to inject arbitrary JavaScript execution via malicious links. This issue has been patched in version 0.14.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • gogs gogs

    fixed in 0.14.2

  • gogs.io/gogsGo

    All versions

  • gogs.io/gogsGo

    fixed in 0.14.2

References 4

GitHub · gogs/gogs