Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
gogs gogs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gogs(Go Git Service)是Gogs团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs(Go Git Service)0.14.2之前版本存在跨站脚本漏洞,该漏洞源于不安全的模板渲染混合用户输入,可能导致存储型跨站脚本。

AI Predicted 4.3 Difficulty: Moderate EPSS 0.34% · P26
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-26195

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gogs: Stored XSS in branch and wiki views through author and committer names
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Gogs(Go Git Service) 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gogs(Go Git Service)是Gogs团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs(Go Git Service)0.14.2之前版本存在跨站脚本漏洞,该漏洞源于不安全的模板渲染混合用户输入,可能导致存储型跨站脚本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gogs gogs < 0.14.2 -

II. Public POCs for CVE-2026-26195

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-26195

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-26195 (2)

Vendor Advisories for CVE-2026-26195 (1)

Vendor Pages for CVE-2026-26195 (1)

Same Patch Batch · gogs · 2026-03-05 · 6 CVEs total

CVE-2026-25921 9.3 CRITICAL Gogs: Cross-repository LFS object overwrite via missing content hash verification
CVE-2026-26022 8.7 HIGH Gogs: Stored XSS via data URI in issue comments
CVE-2026-26276 7.3 HIGH Gogs: DOM-based XSS via milestone selection
CVE-2026-26196 Gogs: Access tokens get exposed through URL params in API requests
CVE-2026-26194 Gogs: Release tag option injection in release deletion

IV. Related Vulnerabilities

V. Comments for CVE-2026-26195

No comments yet


Leave a comment