Lookup for vulnerable packages by Package URL.
| Purl | pkg:gem/decidim@0.27.7 |
| Type | gem |
| Namespace | |
| Name | decidim |
| Version | 0.27.7 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | null |
| Latest_non_vulnerable_version | null |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-25zg-267g-w3cn |
| vulnerability_id |
VCID-25zg-267g-w3cn |
| summary |
Decidim's private data exports can lead to data leaks
Private data exports can lead to data leaks in cases where the UUID generation causes collisions for the generated UUIDs.
The bug was introduced by #13571 and affects Decidim versions 0.30.0 or newer (currently 2025-09-23).
This issue was discovered by running the following spec several times in a row, as it can randomly fail due to this bug:
```bash
$ cd decidim-core
$ for i in {1..10}; do bundle exec rspec spec/jobs/decidim/download_your_data_export_job_spec.rb -e "deletes the" || break ; done
```
Run the spec as many times as needed to hit a UUID that converts to `0` through `.to_i`.
The UUID to zero conversion does not cause a security issue but the security issue is demonstrated with the following example.
The following code regenerates the issue by assigning a predefined UUID that will generate a collision (example assumes there are already two existing users in the system):
```ruby |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2025-65017, GHSA-3cx6-j9j4-54mp
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-25zg-267g-w3cn |
|
| 1 |
| url |
VCID-nbaf-v9nk-fkbv |
| vulnerability_id |
VCID-nbaf-v9nk-fkbv |
| summary |
Decidim has a cross-site scripting vulnerability in the version control page
### Impact
The version control feature used in resources is subject to potential
cross-site scripting (XSS) attack through a malformed URL.
### Workarounds
Not available
### References
OWASP ASVS v4.0.3-5.1.3
### Credits
This issue was discovered in a security audit organized by
[Open Source Politics](https://opensourcepolitics.eu/)
against Decidim done during July 2025. |
| references |
| 0 |
|
| 1 |
| reference_url |
https://github.com/decidim/decidim |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
7.1 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
|
| 1 |
| value |
7.1 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
|
| 2 |
| value |
HIGH |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://github.com/decidim/decidim |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-41673, GHSA-cc4g-m3g7-xmw8
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-nbaf-v9nk-fkbv |
|
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-83y7-7krj-77ae |
| vulnerability_id |
VCID-83y7-7krj-77ae |
| summary |
Decidim::Admin vulnerable to cross-site scripting (XSS) in the admin panel with QuillJS WYSWYG editor
### Impact
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.
### Patches
N/A
### 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.
Disable the "Enable rich text editor for participants" setting in
the admin dashboard.
### References
OWASP ASVS v4.0.3-5.1.3 |
| references |
| 0 |
|
| 1 |
| reference_url |
https://github.com/decidim/decidim |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
5.4 |
| scoring_system |
cvssv3.1 |
| scoring_elements |
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N |
|
| 1 |
| value |
5.9 |
| scoring_system |
cvssv4 |
| scoring_elements |
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N |
|
| 2 |
| value |
MODERATE |
| scoring_system |
generic_textual |
| scoring_elements |
|
|
|
| url |
https://github.com/decidim/decidim |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
|
| fixed_packages |
|
| aliases |
CVE-2024-39910, GHSA-vvqw-fqwx-mqmm
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-83y7-7krj-77ae |
|
|
| Risk_score | 4.0 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:gem/decidim@0.27.7 |