Vulnerabilities in pkg:gem/decidim-core
PACKAGECVE-2026-45573 is a MODERATE (CVSS 6.4) push subscriptions can be abused vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Decidim libraries in the RubyGems ecosystem. The issue involves push subscriptions can be abused for server-side requests. Remediation is available by upgrading affected packages to version 0.30.9, 0.31.5, 0.32.0.
pkg:gem/decidim-core
Vulnerability advisories affecting package pkg:gem/decidim-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2g9c-vf8h-prxx | CVE-2026-45573 | MODERATE | Decidim: Push subscriptions can be abused for server-side requests |
| GHSA-533c-2vh9-4r86 | CVE-2026-45572 | MODERATE | Decidim: HTML content blocks allow stored script execution |
| GHSA-767h-63j4-5226 | CVE-2026-45377 | MODERATE | Decidim: Private exports can be downloaded through reusable links |
| GHSA-w5xj-99cg-rccm | CVE-2026-40869 | HIGH | Decidim amendments can be accepted or rejected by anyone |
| GHSA-fc46-r95f-hq7g | CVE-2026-23891 | CRITICAL | Decidim has a cross-site scripting (XSS) in user name |
| GHSA-3cx6-j9j4-54mp | CVE-2025-65017 | HIGH | Decidim's private data exports can lead to data leaks |
| GHSA-9w99-78rj-hmxq | CVE-2023-51447 | MODERATE | Cross-site scripting (XSS) in the dynamic file uploads |
| GHSA-469h-mqg8-535r | CVE-2023-32693 | MODERATE | Decidim Cross-site Scripting vulnerability in the external link redirections |
| GHSA-5652-92r9-3fx9 | CVE-2023-34089 | HIGH | Decidim Cross-site Scripting vulnerability in the processes filter |
CVE-2026-45573 at a Glance
Security Impact
CVSS: 6.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-45573
To remediate this vulnerability, upgrade all affected Decidim dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade decidim-core to 0.30.9
Upgrade decidim-core to 0.31.5
Upgrade decidim-core to 0.32.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for decidim-core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-45573, inspect your project dependencies for Decidim:
inspect dependencies for decidim-core
Analyze the terminal output to locate any version of Decidim in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.30.9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Decidim, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-45573 Affected Decidim Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
decidim-core
|
RubyGems |
< 0.30.9
|
0.30.9
|
|
decidim-core
|
RubyGems |
≥ 0.31.0.rc1
< 0.31.5
|
0.31.5
|
|
decidim-core
|
RubyGems |
≥ 0.32.0.rc1
< 0.32.0
|
0.32.0
|
References
Frequently Asked Questions
What is CVE-2026-45573?
Which Decidim versions are affected?
What version fixes CVE-2026-45573?
Is decidim-core affected?
What is the CVSS score of CVE-2026-45573?
What CWE is associated with CVE-2026-45573?
How can I check RubyGems dependencies for CVE-2026-45573?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2g9c-vf8h-prxx",
"modified" : "2026-07-13T17:19:17Z",
"published" : "2026-07-13T17:19:17Z",
"aliases" : [ "CVE-2026-45573" ],
"summary" : "Decidim: Push subscriptions can be abused for server-side requests",
"details" : "## Description\n\nThe push-subscription endpoint stores an attacker-controlled delivery URL, and the notification send path becomes an outbound-request sink when VAPID delivery is enabled. The practical result is an authenticated, stored, mostly blind SSRF primitive to arbitrary HTTPS endpoints reachable from the app server.\n\n## Technical description\n \nWhen VAPID delivery is enabled, the notification subscription flow stores the client-supplied push endpoint without checking that it belongs to an approved push service. The send path later passes that stored URL to `WebPush.payload_send`, turning the subscription into an attacker-controlled outbound request destination.\nThis is the source-to-sink chain:\n\n1. Source: attacker-controlled `subscription.endpoint` in the JSON body posted to `POST /notifications_subscriptions`.\n2. Persistence: `params[:endpoint]` is stored under `user.notification_settings[\"subscriptions\"]`.\n3. Retrieval: `user.notifications_subscriptions.values` returns that stored endpoint later.\n4. Sink: `build_payload` sets `endpoint: subscription[\"endpoint\"]`.\n5. Outbound request: `WebPush.payload_send(**payload)` uses the attacker-supplied endpoint as the\ndestination.\n\nOne spec asserts that the endpoint is persisted exactly as supplied:\n\n```ruby\n# decidim-core/spec/services/decidim/notifications_subscriptions_persistor_spec.rb\nexpect(user.notifications_subscriptions[\"auth_code_121\"][\"endpoint\"]).to eq(params[:endpoint])\n```\n\nAnother spec asserts that `SendPushNotification` passes the stored endpoint into `WebPush.payload_send`:\n\n```ruby\n# decidim-core/spec/services/decidim/send_push_notification_spec.rb\nfirst_notification_payload = {\n message:,\n endpoint: subscriptions[\"auth_key_1\"][\"endpoint\"],\n p256dh: subscriptions[\"auth_key_1\"][\"p256dh\"],\n auth: subscriptions[\"auth_key_1\"][\"auth\"],\n vapid: a_hash_including(...)\n}\nexpect(WebPush).to receive(:payload_send).with(first_notification_payload)\n```\n\n### Impact\n\n- In a configured deployment, an authenticated user can register an attacker-controlled or otherwise unauthorized HTTPS URL.\n- The server then sends outbound `POST` requests there whenever a notification is pushed.\n- This is a stored, mostly blind SSRF primitive: useful for outbound interaction with attacker infrastructure and, where routable, internal HTTPS services.\n- Notification metadata is disclosed to the supplied endpoint through the encrypted web push request path.\n\n### Patches\n\nSee https://github.com/decidim/decidim/pull/16714.\n\n### Workarounds\n\nDisable the push notifications feature by removing the VAPID keys in the server.\n\n### Resource\n\nSSRF\n\n### Credits\n\nThis issue was discovered in a security audit organized by the [Decidim Association](https://decidim.org) and made by [Radically Open Security](https://www.radicallyopensecurity.com/) against Decidim financed by [NGI](https://ngi.eu/).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.30.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.31.0.rc1"
}, {
"fixed" : "0.31.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "decidim-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.32.0.rc1"
}, {
"fixed" : "0.32.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/decidim/decidim/security/advisories/GHSA-2g9c-vf8h-prxx"
}, {
"type" : "WEB",
"url" : "https://github.com/decidim/decidim/pull/16714"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/decidim/decidim"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-13T17:19:17Z",
"nvd_published_at" : null
}
}