Vulnerability · Published Mar 5, 2026 · Assigned by GitHub_M
CVE-2026-26195Gogs: Stored XSS in branch and wiki views through author and committer names
Medium 6.9
In plain English
A medium-severity cross-site scripting in gogs from gogs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.2%top 86.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Gogs is an open source self-hosted Git service. Prior to version 0.14.2, stored xss is still possible through unsafe template rendering that mixes user input with safe plus permissive sanitizer handling of data urls. This issue has been patched in version 0.14.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | no fix listed | GHSA-vgvf-m4fw-938j |
| Go | gogs.io/gogs | no fix listed | GO-2026-4618 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/gogs/gogs/security/advisories/GHSA-vgvf-m4fw-938j x_refsource_CONFIRM
- https://github.com/gogs/gogs/pull/8176 x_refsource_MISC
- https://github.com/gogs/gogs/commit/ac21150a53bef3a3061f4da787ab193a8d68ecfc x_refsource_MISC
- https://github.com/gogs/gogs/releases/tag/v0.14.2 x_refsource_MISC