CVE-2024-27095: Decidim cross-site scripting (XSS) in the admin panel
Impact
The admin panel is subject to potential XSS attach in case the attacker manages to modify some records being uploaded to the server.
The attacker is able to change 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.
Patches
Available in versions 0.27.6 and 0.28.1.
Workarounds
Review the user accounts that have access to the admin panel (i.e. general Administrators, and participatory space's Administrators) and remove access to them if they don't need it.
References
OWASP ASVS v4.0.3-5.1.3
Other sources
Decidim is a participatory democracy framework. The admin panel is subject to potential XSS attach in case the attacker manages to modify some records being uploaded to the server. This vulnerability is fixed in 0.27.6 and 0.28.1.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-27095?
CVE-2024-27095 is considered a high severity vulnerability due to its potential for XSS attacks.
How do I fix CVE-2024-27095?
To fix CVE-2024-27095, upgrade to fixed versions of the 'decidim-admin' package, specifically 0.28.1 or 0.27.6.
Which versions of Decidim are affected by CVE-2024-27095?
CVE-2024-27095 affects Decidim versions up to 0.28.0, including 0.28.0-rc1 through 0.28.0-rc5 and up to 0.27.6.
What type of attacks are possible with CVE-2024-27095?
CVE-2024-27095 allows attackers to perform cross-site scripting (XSS) through manipulated record uploads.
Who is at risk from CVE-2024-27095?
Administrators using vulnerable versions of Decidim are at risk from CVE-2024-27095.