Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-533c-2vh9-4r86: Decidim: HTML content blocks allow stored script execution

0
Medium
Published: 07/13/2026 (07/13/2026, 17:18:12 UTC)
Source: GCVE Database
Product: decidim-core

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Affected software

RubyGemsghsa
decidim-core
Affected versions
<0.30.9
RubyGemsghsa
decidim-core
Affected versions
>=0.31.0.rc1 <0.31.5
RubyGemsghsa
decidim-core
Affected versions
>=0.32.0.rc1 <0.32.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 10:01:30 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses