CVE-2026-26276
JSON

7.3high

Gogs: DOM-based XSS via milestone selection

Severity
7.3high CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-vgjm-2cpf-4g7cGO-2026-4627

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

Product or packageVersionsReported by
gogs gogs< 0.14.2, before 0.14.2CVE List, NVD
gogs.io/gogs (Go)up to 0.13.3, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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

Go Vulnerability Database

Gogs: DOM-based XSS via milestone selection in gogs.io/gogs

NVD (es)

Gogs es un servicio Git autoalojado de código abierto. Antes de la versión 0.14.2, un atacante puede almacenar una carga útil HTML/JavaScript en el nombre de un Hito de repositorio, y cuando otro usuario selecciona ese Hito en la página de Nueva Incidencia (/issues/new), se activa un XSS basado en DOM. Este problema ha sido parcheado en la versión 0.14.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-26276 changed 2026-03-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-vgjm-2cpf-4g7c changed 2026-03-23CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4627 changed 2026-03-23CC-BY-4.0
NVDCVE-2026-26276 changed 2026-06-17Public domain