GHSA-533c-2vh9-4r86: Decidim: HTML content blocks allow stored script execution
A stored cross-site scripting (XSS) vulnerability exists in Decidim core versions prior to 0.30.9. A privileged admin user who can edit landing pages can inject arbitrary HTML and JavaScript into an HTML content block. This content is rendered without sanitization, allowing script execution in visitors' browsers. Exploitation requires admin-level permissions, reducing practical risk compared to participant-controlled or unauthenticated XSS. A patch is available in Decidim version 0.30.9.
AI Analysis
Technical Summary
Decidim core versions before 0.30.9 contain a stored XSS vulnerability in the HTML content blocks of landing pages. An admin user with editing rights can insert arbitrary HTML/JavaScript into an HTML block, which is rendered back using `html_safe` without output escaping or sanitization in `Decidim::ContentBlocks::HtmlCell#html_content`. This allows the injected script to execute in the browsers of visitors viewing the affected page. The vulnerability requires privileged admin access to exploit, limiting the attack surface. The issue was identified during a security audit and fixed in Decidim 0.30.9.
Potential Impact
An attacker with admin permissions to edit landing pages can persist JavaScript that executes in the browsers of page visitors. This can lead to information disclosure or other client-side impacts within the context of the affected page. Since exploitation requires high privileges, the risk is moderate rather than critical. There is no indication of remote unauthenticated exploitation or system-level compromise from this vulnerability.
Mitigation Recommendations
A fix is available in Decidim version 0.30.9. Users should upgrade to this version or later to remediate the vulnerability. As a workaround, restrict admin permissions to trusted users only to prevent untrusted users from injecting malicious scripts. No other mitigations are specifically indicated.
GHSA-533c-2vh9-4r86: Decidim: HTML content blocks allow stored script execution
Description
A stored cross-site scripting (XSS) vulnerability exists in Decidim core versions prior to 0.30.9. A privileged admin user who can edit landing pages can inject arbitrary HTML and JavaScript into an HTML content block. This content is rendered without sanitization, allowing script execution in visitors' browsers. Exploitation requires admin-level permissions, reducing practical risk compared to participant-controlled or unauthenticated XSS. A patch is available in Decidim version 0.30.9.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Decidim core versions before 0.30.9 contain a stored XSS vulnerability in the HTML content blocks of landing pages. An admin user with editing rights can insert arbitrary HTML/JavaScript into an HTML block, which is rendered back using `html_safe` without output escaping or sanitization in `Decidim::ContentBlocks::HtmlCell#html_content`. This allows the injected script to execute in the browsers of visitors viewing the affected page. The vulnerability requires privileged admin access to exploit, limiting the attack surface. The issue was identified during a security audit and fixed in Decidim 0.30.9.
Potential Impact
An attacker with admin permissions to edit landing pages can persist JavaScript that executes in the browsers of page visitors. This can lead to information disclosure or other client-side impacts within the context of the affected page. Since exploitation requires high privileges, the risk is moderate rather than critical. There is no indication of remote unauthenticated exploitation or system-level compromise from this vulnerability.
Mitigation Recommendations
A fix is available in Decidim version 0.30.9. Users should upgrade to this version or later to remediate the vulnerability. As a workaround, restrict admin permissions to trusted users only to prevent untrusted users from injecting malicious scripts. No other mitigations are specifically indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-533c-2vh9-4r86
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-45572"]
- Ecosystems
- ["RubyGems"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a55ffbb68715ace432faf7f
Added to database: 07/14/2026, 09:22:03 UTC
Last enriched: 07/14/2026, 10:01:30 UTC
Last updated: 07/15/2026, 18:12:08 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.