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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31038— XSS vulnerability in repository issue list in Gogs

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 0.12.9之前版本中存在跨站脚本漏洞,该漏洞源于允许来自用户的所有字符直接显示在问题列表中。

CVSS 5.4 · Medium EPSS 0.71% · P52
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31038

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
XSS vulnerability in repository issue list in Gogs
Source: CVE Program / CVE List V5
Vulnerability Description
Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does not filter characters input from users, which leads to an XSS vulnerability when directly displayed in the issue list. This issue has been resolved in commit 155cae1d which sanitizes `DisplayName` prior to display to the user. All users of gogs are advised to upgrade. Users unable to upgrade should check their users' display names for malicious characters.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Gogs 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gogs(Go Git Service)是GOGS团队的一个基于Go语言的自助Git托管服务,它支持创建、迁移公开/私有仓库,添加、删除仓库协作者等。 Gogs 0.12.9之前版本中存在跨站脚本漏洞,该漏洞源于允许来自用户的所有字符直接显示在问题列表中。
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.12.9 -

II. Public POCs for CVE-2022-31038

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31038

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

Patches & Fixes for CVE-2022-31038 (1)

Vendor Advisories for CVE-2022-31038 (1)

Same Patch Batch · gogs · 2022-06-08 · 3 CVEs total

CVE-2022-1992 Path Traversal in gogs/gogs
CVE-2022-1993 Path Traversal in gogs/gogs

IV. Related Vulnerabilities

V. Comments for CVE-2022-31038

No comments yet


Leave a comment