XSS in Gogs
CVE-2026-26276
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.002, 12.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gogs — versions < 0.14.2
Weakness classification (CWE)
References
- https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c (Vendor Advisory)
- https://github.com/gogs/gogs/pull/8178 (Issue Tracking)
- https://github.com/gogs/gogs/releases/tag/v0.14.2 (Release Notes)