Home / decidim / decidim / CVE-2023-51447
CVE-2023-51447: is it exploited, and which versions of decidim are affected and fixed?
CVE-2023-51447 is a cross-site scripting (XSS) vulnerability in decidim. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: decidim from 0.27.0 before 0.27.5 and decidim-core from 0.27.0 before 0.27.5 (GitHub advisory GHSA-9w99-78rj-hmxq). Fixed in 0.27.5 (GitHub advisory GHSA-9w99-78rj-hmxq). Severity: Medium (6.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:32 UTC.
What is CVE-2023-51447?
Decidim vulnerable to cross-site scripting (XSS) in the dynamic file uploads
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.
From the CVE record by GitHub_M, last updated August 26, 2024, 14:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| decidim | decidim | >= 0.27.0, < 0.27.5 |
As the CVE record by GitHub_M states it, last updated August 26, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | decidim | >= 0.27.0, < 0.27.5 | 0.27.5 | GHSA-9w99-78rj-hmxq |
| RubyGems | decidim-core | >= 0.27.0, < 0.27.5 | 0.27.5 | GHSA-9w99-78rj-hmxq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 20, 2024. Summary: Cross-site scripting (XSS) in the dynamic file uploads.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| decidim | decidim | from 0.27.0 before 0.27.5 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 06:40 UTC.
How severe is CVE-2023-51447?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-51447 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, February 21, 2024)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 43.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/decidim/decidim/security/advisories/GHSA-9w99-78rj-hmxq x_refsource_CONFIRM
- https://github.com/decidim/decidim/pull/11612 x_refsource_MISC
- https://github.com/decidim/decidim/commit/aaf72787cf18beeeb6a771c1f7cbb7654b073423 x_refsource_MISC
- https://github.com/decidim/decidim/releases/tag/v0.27.5 x_refsource_MISC
- https://github.com/decidim/decidim/releases/tag/v0.28.0 x_refsource_MISC
- https://github.com/rails/rails/blob/a967d355c6fee9ad9b8bd115d43bc8b0fc207e7e/activestorage/app/controllers/active_storage/direct_uploads_controller.rb#L14 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 19, 2023
- Published
- February 20, 2024, 17:29 UTC
- CVE record updated
- August 26, 2024, 14:47 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 06:40 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect decidim?
- Sep 15, 2026CVE-2026-44282 decidim: cross-site scripting (XSS)
- Aug 6, 2026CVE-2026-45378 decidim: information disclosure
- Aug 6, 2026CVE-2026-45573 decidim: server-side request forgery (SSRF)
- Aug 6, 2026CVE-2026-45572 decidim: code injection (remote code execution)
- Aug 6, 2026CVE-2026-45415 decidim: missing authorization
- Aug 6, 2026CVE-2026-45414 decidim: authorization bypass through a user-controlled key (IDOR)
- Jul 31, 2026CVE-2026-45377 decidim: information disclosure
- Jul 31, 2026CVE-2026-45376 decidim: SQL injection
Questions about CVE-2023-51447
Is CVE-2023-51447 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of decidim are affected by CVE-2023-51447?
decidim from 0.27.0 before 0.27.5 and decidim-core from 0.27.0 before 0.27.5, per the GitHub advisory GHSA-9w99-78rj-hmxq. The tables above give every range the sources list.
Which version fixes CVE-2023-51447?
0.27.5, per the GitHub advisory GHSA-9w99-78rj-hmxq. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-51447?
Medium (6.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-51447?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.