Vulnerability · Published Mar 5, 2026 · Assigned by GitHub_M
CVE-2026-26276Gogs: DOM-based XSS via milestone selection
High 7.3
In plain English
A high-severity cross-site scripting in gogs from gogs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities).
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.2%top 87.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | no fix listed | GHSA-vgjm-2cpf-4g7c |
| Go | gogs.io/gogs | no fix listed | GO-2026-4627 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
References
- https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c x_refsource_CONFIRM
- https://github.com/gogs/gogs/pull/8178 x_refsource_MISC
- https://github.com/gogs/gogs/releases/tag/v0.14.2 x_refsource_MISC