All vulnerabilities

Servers and applications

CVE-2026-26276

DOM-based XSS via milestone selection

Severity
Medium 5.4
Published
5 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.14.2
Exploit chance
0.2% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Also known as
GHSA-vgjm-2cpf-4g7c
Sources
NVD, Project advisories (GitHub)

Description

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.

  • 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.)

From gogs/gogs's security advisory.

Affected software

SoftwareAffected versions
GogsServers and applications · cpe:a:gogs:gogs
  • Every version before 0.14.2
GogsServers and applications · github:gogs/gogs
  • Every version up to 0.14.1

About Gogs

free forge based on Git written in Go

From Wikidata, CC0 1.0.
Docker Hub pulls
94,040,857Docker Hub, 15 Nov 2026
GitHub stars
47,939GitHub, 15 Nov 2026
Forks
5,082GitHub, 15 Nov 2026
Latest release
v0.14.4GitHub, 15 Nov 2026
Released
12 Nov 2026GitHub
Developer
FLOSS contributorWikidata
License
Expat licenseWikidata
Written in
Go, Cascading Style Sheets, JavaScriptWikidata
First released
11 Feb 2014Wikidata
First published on GitHub
12 Feb 2014GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-26276
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-26276
  • GitHub Advisory Database https://github.com/advisories/GHSA-vgjm-2cpf-4g7c
  • github.com https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c