Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. decidim-admin
  4. ›
  5. CVE-2024-27095

CVE-2024-27095: Decidim cross-site scripting (XSS) in the admin panel

July 10, 2024

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.

References

  • github.com/advisories/GHSA-529p-jj47-w3m3
  • github.com/decidim/decidim
  • github.com/decidim/decidim/releases/tag/v0.27.6
  • github.com/decidim/decidim/releases/tag/v0.28.1
  • github.com/decidim/decidim/security/advisories/GHSA-529p-jj47-w3m3
  • nvd.nist.gov/vuln/detail/CVE-2024-27095

Code Behaviors & Features

Detect and mitigate CVE-2024-27095 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.28.0.rc1 before 0.28.1, all versions before 0.27.6

Fixed versions

  • 0.27.6
  • 0.28.1

Solution

Upgrade to versions 0.27.6, 0.28.1 or above.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/decidim-admin/CVE-2024-27095.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.