CVE-2026-26276 Gogs: DOM-based XSS via milestone selection
MediumCVSS 5.4
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gogs.io/gogs(Go) | <= 0.13.3; All versions | after 0.13.3 | Partially fixed |
| gogs | < 0.14.2; = < 0.14.2 | 0.14.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs | = < 0.14.2 | No fix listed |
| gogs.io/gogs(Go) | <= 0.13.3 | No fix listed |
| gogs.io/gogs(Go) | All versions | No fix listed |
| gogs | < 0.14.2 | 0.14.2 |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c vendor-advisory
- https://github.com/gogs/gogs/pull/8178 issue-tracking patch
- https://github.com/gogs/gogs/releases/tag/v0.14.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com