CVE-2026-26022 Details
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.
A stored cross-site scripting vulnerability has been identified in Gogs, an open-source self-hosted Git service, prior to version 0.14.2. This vulnerability allows authenticated users to inject arbitrary JavaScript into issue comments and descriptions. The issue arises because the application's HTML sanitizer permits data URI schemes, which can be exploited to execute malicious scripts. The vulnerability has been patched in version 0.14.2.
Users can update to Gogs version 0.14.2 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291 | [email protected] | Patch |
| https://github.com/gogs/gogs/pull/8174 | [email protected] | Issue Tracking |
| https://github.com/gogs/gogs/releases/tag/v0.14.2 | [email protected] | Release Notes |
| https://github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gogs gogs | < 0.14.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 6, 2026 | Initial Analysis | [email protected] |
| Mar 5, 2026 | New CVE Received | [email protected] |