Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-26195 EUVD-2026-9853GHSA-vgvf-m4fw-938jGO-2026-4618

Gogs: Stored XSS in branch and wiki views through author and committer names

Published Mar 5, 2026 · Updated Mar 6, 2026 · 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.

Affected products

VendorProductAffectedFixed
gogs gogs < 0.14.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs <= 0.13.3 — GHSA-vgvf-m4fw-938j
Go gogs.io/gogs all versions — GO-2026-4618

Advisories 3

References