{"id":"CVE-2023-47635","published":"2024-02-20T16:45:39Z","modified":"2024-08-22T13:25:39Z","title":"Decidim vulnerable to possible CSRF attack at questionnaire templates preview","vendor":"decidim","product":"decidim","tier":"tail","description":{"text":"Decidim is a participatory democracy framework. Starting in version 0.23.0 and prior to versions 0.27.5 and 0.28.0, the CSRF authenticity token check is disabled for the questionnaire templates preview. The issue does not imply a serious security thread as you need to have access also to the session cookie in order to see this resource. This URL does not allow modifying the resource but it may allow attackers to gain access to information which was not meant to be public. The issue is fixed in version 0.27.5 and 0.28.0. As a workaround, disable the templates functionality or remove all available templates.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00313,"percentile":0.24852,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/decidim/decidim/security/advisories/GHSA-f3qm-vfc3-jg6v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/decidim/decidim/pull/11743","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/pull/6247","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/commit/5542227be66e3b6d7530f5b536069bce09376660","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/commit/57a4b467787448307b5d9b01ce6e2c8502e121ac","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb#L11","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.27.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.28.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":4.97},{"name":"CVSS severity","points":3.15}]},"vendorSlug":"decidim","affectedVersions":[{"vendor":"decidim","product":"decidim","versions":[">= 0.23.0, < 0.27.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-22T13:23:33.057811Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"decidim-templates","vulnerableRanges":[">=0.23.0, <0.27.5"],"patched":["0.27.5"],"from":["GHSA-f3qm-vfc3-jg6v"],"provenance":"source"}],"summary":{"text":"The flaw is in the questionnaire templates preview of Decidim, a participatory democracy framework, where the CSRF authenticity token check is disabled. An attacker on the network who wants to exploit it must already hold a privileged account and the session cookie, and must get a user to interact with a crafted request; the attacker can then reach information in that preview that was not meant to be public, though the URL cannot be used to modify the resource.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:39Z"},"euvd":{"id":"EUVD-2024-0624","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-36465","published":"2023-10-06","fixed":"0.27.4","kev":false,"link":{"from":"CVE-2023-36465","to":"CVE-2023-47635","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:decidim-templates","fromFixed":"0.27.4","toFixed":"0.27.5","daysApart":137}]}},{"cve":"CVE-2023-47635","published":"2024-02-20","fixed":"0.27.5","kev":false}],"package":"RubyGems:decidim-templates"}}