CVE-2026-26276
Gogs: DOM-based XSS via milestone selection
Auswirkung
# 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
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | gogs.io/gogs | <= 0.13.3 | nicht erfasst |
Betroffene Produkte · Gogs
| Produkt | Betroffene Versionen |
|---|---|
| Gogs | vor 0.14.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- 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
- https://github.com/advisories/GHSA-vgjm-2cpf-4g7c
- https://github.com/gogs/gogs/commit/9001a68cdda7bd9c078ffd6d1c4622905ac11e5c
- https://nvd.nist.gov/vuln/detail/CVE-2026-26276