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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-43855— Stored XSS via SVG in Requarks/wiki

Quick assessment

Affected
Requarks wiki
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.

Wiki.js是Requarks.io团队的一套基于Node.js并使用JavaScript语言编写的开源Wiki软件。 Requarks Wiki.js 存在跨站脚本漏洞,该漏洞源于该脚本通过使用伪造 MIME 类型的自定义请求上传 SVG 文件。 通过创建精心制作的 SVG 文件,恶意 Wiki.js 用户可能会进行存储的跨站点脚本攻击。 这允许攻击者在其他用户直接查看 SVG 时执行恶意 JavaScript。

CVSS 8.2 · High EPSS 0.89% · P57
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-43855

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
Stored XSS via SVG in Requarks/wiki
Source: CVE Program / CVE List V5
Vulnerability Description
Wiki.js is a wiki app built on node.js. Wiki.js 2.5.263 and earlier is vulnerable to stored cross-site scripting through a SVG file upload made via a custom request with a fake MIME type. By creating a crafted SVG file, a malicious Wiki.js user may stage a stored cross-site scripting attack. This allows the attacker to execute malicious JavaScript when the SVG is viewed directly by other users. Scripts do not execute when loaded inside a page via normal `<img>` tags. The malicious SVG can only be uploaded by crafting a custom request to the server with a fake MIME type. A patch in version 2.5.264 fixes this vulnerability by adding an additional file extension verification check to the optional (enabled by default) SVG sanitization step to all file uploads that match the SVG mime type. As a workaround, disable file upload for all non-trusted users.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Wiki.js 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Wiki.js是Requarks.io团队的一套基于Node.js并使用JavaScript语言编写的开源Wiki软件。 Requarks Wiki.js 存在跨站脚本漏洞,该漏洞源于该脚本通过使用伪造 MIME 类型的自定义请求上传 SVG 文件。 通过创建精心制作的 SVG 文件,恶意 Wiki.js 用户可能会进行存储的跨站点脚本攻击。 这允许攻击者在其他用户直接查看 SVG 时执行恶意 JavaScript。
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
Requarks wiki < 2.5.264 -

II. Public POCs for CVE-2021-43855

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-43855

登录查看更多情报信息。

Vendor Advisories for CVE-2021-43855 (1)

Other References for CVE-2021-43855 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-43855

No comments yet


Leave a comment