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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-51447— Decidim vulnerable to cross-site scripting (XSS) in the dynamic file uploads

CVSS 6.3 · Medium EPSS 0.49% · P66
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-51447

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
Decidim vulnerable to cross-site scripting (XSS) in the dynamic file uploads
Source: NVD (National Vulnerability Database)
Vulnerability Description
Decidim is a participatory democracy framework. Starting in version 0.27.0 and prior to versions 0.27.5 and 0.28.0, the dynamic file upload feature is subject to potential cross-site scripting attacks in case the attacker manages to modify the file names of the records being uploaded to the server. This appears in sections where the user controls the file upload dialogs themselves and has the technical knowledge to change the file names through the dynamic upload endpoint. Therefore I believe it would require the attacker to control the whole session of the particular user but in any case, this needs to be fixed. Successful exploit of this vulnerability would require the user to have successfully uploaded a file blob to the server with a malicious file name and then have the possibility to direct the other user to the edit page of the record where the attachment is attached. The users are able to craft the direct upload requests themselves controlling the file name that gets stored to the database. The attacker is able to change the filename e.g. to `<svg onload=alert('XSS')>` if they know how to craft these requests themselves. And then enter the returned blob ID to the form inputs manually by modifying the edit page source. Versions 0.27.5 and 0.28.0 contain a patch for this issue. As a workaround, disable dynamic uploads for the instance, e.g. from proposals.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Decidim 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Decidim是一个参与式民主框架,用 Ruby on Rails 编写。 Decidim 0.27.0版本至0.27.5版本、0.28.0版本存在跨站脚本漏洞,该漏洞源于动态文件上传功能中存在跨站脚本漏洞。
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

VendorProductAffected VersionsCPESubscribe
decidimdecidim >= 0.27.0, < 0.27.5 -

II. Public POCs for CVE-2023-51447

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-51447

登录查看更多情报信息。

Same Patch Batch · decidim · 2024-02-20 · 4 CVEs total

CVE-2023-482205.7 MEDIUMDecidim's devise_invitable gem vulnerable to circumvention of invitation token expiry peri
CVE-2023-476354.5 MEDIUMDecidim vulnerable to possible CSRF attack at questionnaire templates preview
CVE-2023-476343.1 LOWDecidim has race condition in Endorsements

IV. Related Vulnerabilities

V. Comments for CVE-2023-51447

No comments yet


Leave a comment