Skip to content
Heist/ feed
Back to feed
Medium

Decidim vulnerable to possible CSRF attack at questionnaire templates preview

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-47635
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:05 UTC · Revision 1

Source evidence

Decidim vulnerable to possible CSRF attack at questionnaire templates preview

core-osv · Original source

Published 20 Feb 2024, 16:45 UTC

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.

osv:CVE-2023-47635
Complete source record
{
  "id": "8f370c973deb1731906f5bfe8c7c1b3231da3a141be8214fad2510b67a3b624c",
  "url": "https://osv.dev/vulnerability/CVE-2023-47635",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Decidim vulnerable to possible CSRF attack at questionnaire templates preview",
    "summary": "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.",
    "evidence": "osv:CVE-2023-47635",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-47635",
      "aliases": [
        "CVE-2023-47635",
        "GHSA-f3qm-vfc3-jg6v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/decidim/decidim",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a571747c31cafe661222462a147de386f7704389"
                },
                {
                  "fixed": "98222cee1af2bb5cb81d92a41b75220e9beb8741"
                },
                {
                  "fixed": "5542227be66e3b6d7530f5b536069bce09376660"
                },
                {
                  "fixed": "57a4b467787448307b5d9b01ce6e2c8502e121ac"
                },
                {
                  "fixed": "94ca626c877af4a41ebbfe14b786ef3961bc66ba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:decidim:decidim:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "0.23.0"
                      },
                      {
                        "fixed": "0.27.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5542227be66e3b6d7530f5b536069bce09376660"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "57a4b467787448307b5d9b01ce6e2c8502e121ac"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "98222cee1af2bb5cb81d92a41b75220e9beb8741"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.27.5"
                  },
                  {
                    "range": [
                      {
                        "fixed": "94ca626c877af4a41ebbfe14b786ef3961bc66ba"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.28.0"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-47635.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.083276019Z",
      "provider": "osv",
      "references": [
        "https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb#L11",
        "https://github.com/decidim/decidim/releases/tag/v0.27.5",
        "https://github.com/decidim/decidim/releases/tag/v0.28.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/47xxx/CVE-2023-47635.json",
        "https://github.com/decidim/decidim/security/advisories/GHSA-f3qm-vfc3-jg6v",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-47635",
        "https://github.com/decidim/decidim/commit/5542227be66e3b6d7530f5b536069bce09376660",
        "https://github.com/decidim/decidim/commit/57a4b467787448307b5d9b01ce6e2c8502e121ac",
        "https://github.com/decidim/decidim/pull/11743",
        "https://github.com/decidim/decidim/pull/6247"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/47xxx/CVE-2023-47635.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-47635",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514124,
  "published_at": "2024-02-20T16:45:39.305+00:00"
}