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

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-03-05T18:51:13.530Z
- Modified: 2026-06-17T10:26:01.823Z
- Also known as: GHSA-vgjm-2cpf-4g7c, GO-2026-4627
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gogs gogs: < 0.14.2; before 0.14.2
- gogs.io/gogs (Go): up to 0.13.3; all versions

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-vgjm-2cpf-4g7c> (advisory, vendor-advisory, web)
- <https://github.com/gogs/gogs/pull/8178> (issue-tracking, web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26276> (advisory)
- <https://github.com/gogs/gogs/commit/9001a68cdda7bd9c078ffd6d1c4622905ac11e5c> (web)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-26276](https://www.cve.org/CVERecord?id=CVE-2026-26276), CVE Terms of Use, modified 2026-03-07
- GitHub Advisory Database: [GHSA-vgjm-2cpf-4g7c](https://github.com/advisories/GHSA-vgjm-2cpf-4g7c), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4627](https://pkg.go.dev/vuln/GO-2026-4627), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-26276](https://nvd.nist.gov/vuln/detail/CVE-2026-26276), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26276 · Whole record: https://cve.day/CVE-2026-26276.json · Rebuilt by cve.day 2026-11-25T22:59:15.323Z
