CVE-2026-26276: Gogs: DOM-based XSS via milestone selection

Published Mar 5, 2026
·
Updated

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

Other sources

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.

MITRE

Affected Software

3 affected components
Gogs Gogs<0.14.2
go/gogs.io/gogs<=0.13.3
Gogs Gogs<0.14.2

Event History

Mar 5, 2026
CVE Published
via MITRE·06:51 PM
Data Sourced
via MITRE·06:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·08:16 PM
Data Sourced
via GitHub·08:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-26276?

CVE-2026-26276 has a medium severity rating due to the potential for DOM-based XSS attacks.

2

How do I fix CVE-2026-26276?

To fix CVE-2026-26276, update Gogs to version 0.14.2 or later.

3

What type of vulnerability is CVE-2026-26276?

CVE-2026-26276 is a DOM-based Cross-Site Scripting (XSS) vulnerability.

4

Who is affected by CVE-2026-26276?

CVE-2026-26276 affects users of Gogs prior to version 0.14.2.

5

What can an attacker do with CVE-2026-26276?

An attacker can store a malicious HTML/JavaScript payload in a repository’s Milestone name, leading to potential XSS attacks when viewed by other users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203