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

EcosystemPackageFixed inAdvisory
Gogogs.io/gogsno fix listedGHSA-vgvf-m4fw-938j
Gogogs.io/gogsno fix listedGO-2026-4618

Affected products (as reported)

VendorProductVersions
gogs gogs < 0.14.2

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