Description
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.
References (4)
Core 4
Core References
Issue Tracking x_refsource_misc
https://github.com/gogs/gogs/pull/8174
Vendor Advisory x_refsource_confirm
https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j
Patch x_refsource_misc
https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291
Release Notes x_refsource_misc
https://github.com/gogs/gogs/releases/tag/v0.14.2
Scores
CVSS v3
8.7
EPSS
0.0001
EPSS Percentile
3.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-79
Status
published
Products (1)
gogs/gogs
< 0.14.2
Published
Mar 05, 2026
Tracked Since
Mar 06, 2026