Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-26276

Gogs: DOM-based XSS via milestone selection
Back to all
CVE

CVE-2026-26276

Gogs: DOM-based XSS via milestone selection

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
C
H
U
7.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c, https://nvd.nist.gov/vuln/detail/CVE-2026-26276, https://github.com/gogs/gogs/pull/8178, https://github.com/gogs/gogs/commit/9001a68cdda7bd9c078ffd6d1c4622905ac11e5c, https://github.com/gogs/gogs, https://github.com/gogs/gogs/releases/tag/v0.14.2

Severity

7.3

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.3
EPSS Probability
0.0004%
EPSS Percentile
0.12204%
Introduced Version
0,v0.6.5,v0.0.0-20150810105757-09a1b2a1f5ca
Fix Available
v0.14.2-rc.1,v0.0.0-20260214042452-9001a68cdda7

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading