Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Gogs versions before 0.14.2 are affected by a stored cross-site scripting flaw in comments and issue descriptions. An authenticated user can post raw HTML containing a data: URI link, which the HTML sanitizer allows, so a victim who views the content and clicks the link runs attacker-supplied JavaScript. This could let an attacker steal session cookies or act as the victim. Upgrade to Gogs 0.14.2.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0035, the 29th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:09 UTC First seen by agentprime
- 31 Oct 2026, 15:09 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-xrcr-gmf5-2r8j
- OSV: GHSA-xrcr-gmf5-2r8j
- github.com/gogs/gogs/security/advisories/GHSA-xrcr-gmf5-2r8j
- nvd.nist.gov/vuln/detail/CVE-2026-26022
- github.com/gogs/gogs/pull/8174
- github.com/gogs/gogs/commit/441c64d7bd8893b2f4e48660a8be3a7472e14291
- github.com/gogs/gogs
- github.com/gogs/gogs/releases/tag/v0.14.2