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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-30999— Possible cross-site scripting attack via unsanitized SVG files in FoF Upload

Quick assessment

Affected
FriendsOfFlarum upload
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.

Upload是FriendsOfFlarum个人开发者的一个文件上传扩展。 Upload 0.1.0 到 1.2.2 版本存在跨站脚本漏洞,该漏洞源于在 fof/upload 中对 SVG 文件中用户提供的数据清理不足。远程攻击者利用该漏洞可执行跨站点脚本(XSS)攻击。

CVSS 8.7 · High EPSS 1.18% · P65
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-30999

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
Possible cross-site scripting attack via unsanitized SVG files in FoF Upload
Source: CVE Program / CVE List V5
Vulnerability Description
FriendsofFlarum (FoF) Upload is an extension that handles file uploads intelligently for your forum. If FoF Upload prior to version 1.2.3 is configured to allow the uploading of SVG files ('image/svg+xml'), navigating directly to an SVG file URI could execute arbitrary Javascript code decided by an attacker. This Javascript code could include the execution of HTTP web requests to Flarum, or any other web service. This could allow data to be leaked by an authenticated Flarum user, or, possibly, for data to be modified maliciously. This issue has been patched with v1.2.3, which now sanitizes uploaded SVG files. As a workaround, remove the ability for users to upload SVG files through FoF Upload.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Upload 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Upload是FriendsOfFlarum个人开发者的一个文件上传扩展。 Upload 0.1.0 到 1.2.2 版本存在跨站脚本漏洞,该漏洞源于在 fof/upload 中对 SVG 文件中用户提供的数据清理不足。远程攻击者利用该漏洞可执行跨站点脚本(XSS)攻击。
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
FriendsOfFlarum upload < 1.2.3 -

II. Public POCs for CVE-2022-30999

# 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-30999

登录查看更多情报信息。

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

Vendor Advisories for CVE-2022-30999 (1)

Other References for CVE-2022-30999 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2022-30999

No comments yet


Leave a comment