Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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