Cross-site scripting in gogs - CVE-2026-26276

 

Cross-site scripting in gogs - CVE-2026-26276

Published: April 27, 2026


Vulnerability identifier: #VU128095
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-26276
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gogs.io
Affected software:
gogs

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary script in the victim's browser and disclose sensitive information or perform unauthorized actions.

The vulnerability exists due to cross-site scripting in milestone selection on the New Issue page when rendering a repository's milestone name. A remote user can store a crafted HTML/JavaScript payload in a milestone name to execute arbitrary script in the victim's browser and disclose sensitive information or perform unauthorized actions.

User interaction is required when another user selects the crafted milestone on /issues/new.


How to mitigate CVE-2026-26276

Install security update from vendor's website.

Sources