Loading...
Skip to main content

CVE-2024-27095

MEDIUM

Decidim cross-site scripting (XSS) in the admin panel

Published July 10, 2024Updated July 11, 2024Source: osv

Summary

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

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update decidim-admin to 0.27.6 or later
gem install decidim-admin -v 0.27.6
Bundler
Update decidim-admin to 0.28.1 or later
gem install decidim-admin -v 0.28.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

PackageEcosystemAffectedFixed In
decidim-admin
rubygems
0.0.1, 0.0.1.alpha3, 0.0.1.alpha4, 0.0.1.alpha5 (+118 more)0.27.6
decidim-admin
rubygems
0.28.0, 0.28.0.rc4, 0.28.0.rc50.28.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2024-27095?
Decidim cross-site scripting (XSS) in the admin panel This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.4/10).
How do I check if my project is affected by CVE-2024-27095?
CVE-2024-27095 affects decidim-admin. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-27095 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.4

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-529p-jj47-w3m3

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies