CVE-2026-26276 Details
Description
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, an attacker can store an HTML/JavaScript payload in a repository’s Milestone name, and when another user selects that Milestone on the New Issue page (/issues/new), a DOM-Based XSS is triggered. This issue has been patched in version 0.14.2.
A DOM-based cross-site scripting vulnerability has been identified in Gogs, an open-source self-hosted Git service, affecting versions through 0.14.1. The issue arises when an attacker stores an HTML/JavaScript payload in a repository's Milestone name. When another user selects that Milestone on the New Issue page, the injected script is executed, leading to cross-site scripting.
Users can upgrade to Gogs version 0.14.2 or later to address this vulnerability.
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/pull/8178 | [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-vgjm-2cpf-4g7c | [email protected] | Vendor 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 5, 2026 | Initial Analysis | [email protected] |
| Mar 5, 2026 | New CVE Received | [email protected] |