What’s Vulnerable › Vulnerabilities
CVE-2026-26276: Gogs: DOM-based XSS via milestone selection
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-05 · updated 2026-06-17
- Weakness: CWE-79
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 products
- gogs: before 0.14.2 — fixed in 0.14.2
How to fix
Upgrade to a fixed version: gogs 0.14.2. Check the vendor advisory for mitigations.
References
- https://github.com/gogs/gogs/pull/8178
- https://github.com/gogs/gogs/releases/tag/v0.14.2
- https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c
Get alerted when CVE-2026-26276 or the next vulnerability affects your stack