# CVE-2026-26195: Gogs: Stored XSS in branch and wiki views through author and committer names

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-03-05T18:40:31.249Z
- Modified: 2026-06-17T10:25:55.437Z
- Also known as: GHSA-vgvf-m4fw-938j, GO-2026-4618
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(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:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/gogs/gogs/security/advisories/GHSA-vgvf-m4fw-938j> (advisory, vendor-advisory, web)
- <https://github.com/gogs/gogs/pull/8176> (issue-tracking, web)
- <https://github.com/gogs/gogs/commit/ac21150a53bef3a3061f4da787ab193a8d68ecfc> (patch, web)
- <https://github.com/gogs/gogs/releases/tag/v0.14.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26195> (advisory)
- <https://github.com/gogs/gogs> (package)

## Sources

- CVE List: [CVE-2026-26195](https://www.cve.org/CVERecord?id=CVE-2026-26195), CVE Terms of Use, modified 2026-03-06
- GitHub Advisory Database: [GHSA-vgvf-m4fw-938j](https://github.com/advisories/GHSA-vgvf-m4fw-938j), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4618](https://pkg.go.dev/vuln/GO-2026-4618), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-26195](https://nvd.nist.gov/vuln/detail/CVE-2026-26195), Public domain, modified 2026-06-17

---

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