Advisory

GHSA-529p-jj47-w3m3

Also known as: CVE-2024-27095

Summary

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

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-07-10 16:02 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

decidim-admin

RubyGems · All systems

Affected

  • introduced 0, fixed 0.27.6 (ecosystem)

Fixed versions

0.27.6

Fix

The export has no generic command for this ecosystem.

decidim-admin

RubyGems · All systems

Affected

  • introduced 0.28.0.rc1, fixed 0.28.1 (ecosystem)

Fixed versions

0.28.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences