Vulnerability advisory
CVE-2026-26195
Gogs: Stored XSS in branch and wiki views through author and committer names
Also known as GHSA-vgvf-m4fw-938jGO-2026-4618
Severity
- CVSS 4.0
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
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before 5dcb6c64bdf61e38dbdbb941c1d69789c560d0fb | 5dcb6c64bdf61e38dbdbb941c1d69789c560d0fb |
| Not specified | ac21150a53bef3a3061f4da787ab193a8d68ecfc |
Also listed as affected (58)
| |
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.
References
- Webgithub.com/gogs/gogs/releases/tag/v0.14.2 ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26195.json ↗
- Advisorygithub.com/gogs/gogs/security/advisories/GHSA-vgvf-m4fw-938j ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-26195 ↗
- Fixgithub.com/gogs/gogs/commit/ac21150a53bef3a3061f4da787ab193a8d68ecfc ↗
- Fixgithub.com/gogs/gogs/pull/8176 ↗