GitHub Advisoryadvisory · Go
GHSA-vgjm-2cpf-4g7c Gogs: DOM-based XSS via milestone selection
HIGH
Official page ↗
- Aliases
- CVE-2026-26276
- Ecosystem
- Go
- Packages
- gogs.io/gogs
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-03-05
Affected packages
• Go gogs.io/gogs: <= 0.13.3 (no fix yet)
Description
Summary
It was confirmed in a test environment that 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.
Impact
• Theft of information accessible in the victim’s session.
• Extraction of CSRF tokens and submission of state-changing requests with the victim’s privileges.
• Repository operations performed with the victim’s privileges (Issue operations, settings changes, etc.).
(The impact scope depends on the victim’s permission level.)
Remediation
A fix is available at https://github.com/gogs/gogs/releases/tag/v0.14.2
Related
Alias · CVE (1)
- CVE-2026-26276 Gogs is an open source self-hosted Git service. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c web
- https://nvd.nist.gov/vuln/detail/CVE-2026-26276 advisory
- https://github.com/gogs/gogs/pull/8178 web
- https://github.com/gogs/gogs/commit/9001a68cdda7bd9c078ffd6d1c4622905ac11e5c web
- https://github.com/gogs/gogs package
- https://github.com/gogs/gogs/releases/tag/v0.14.2 web