CVE-2026-26195 Gogs: Stored XSS in branch and wiki views through author and committer names
MediumCVSS 6.9
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gogs.io/gogs(Go) | <= 0.13.3; All versions | after 0.13.3 | Partially fixed |
| gogs | < 0.14.2; = < 0.14.2 | 0.14.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs | = < 0.14.2 | No fix listed |
| gogs.io/gogs(Go) | <= 0.13.3 | No fix listed |
| gogs.io/gogs(Go) | All versions | No fix listed |
| gogs | < 0.14.2 | 0.14.2 |
References
- https://github.com/gogs/gogs/security/advisories/GHSA-vgvf-m4fw-938j vendor-advisory
- https://github.com/gogs/gogs/pull/8176 issue-tracking patch
- https://github.com/gogs/gogs/commit/ac21150a53bef3a3061f4da787ab193a8d68ecfc patch
- https://github.com/gogs/gogs/releases/tag/v0.14.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com