{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-47635",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-11-07T16:57:49.245Z",
        "datePublished": "2024-02-20T16:45:39.305Z",
        "dateUpdated": "2024-08-22T13:25:39.658Z"
    },
    "containers": {
        "cna": {
            "title": "Decidim vulnerable to possible CSRF attack at questionnaire templates preview",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-918",
                            "lang": "en",
                            "description": "CWE-918: Server-Side Request Forgery (SSRF)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/decidim/decidim/security/advisories/GHSA-f3qm-vfc3-jg6v",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/decidim/decidim/security/advisories/GHSA-f3qm-vfc3-jg6v"
                },
                {
                    "name": "https://github.com/decidim/decidim/pull/11743",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/decidim/decidim/pull/11743"
                },
                {
                    "name": "https://github.com/decidim/decidim/pull/6247",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/decidim/decidim/pull/6247"
                },
                {
                    "name": "https://github.com/decidim/decidim/commit/5542227be66e3b6d7530f5b536069bce09376660",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/decidim/decidim/commit/5542227be66e3b6d7530f5b536069bce09376660"
                },
                {
                    "name": "https://github.com/decidim/decidim/commit/57a4b467787448307b5d9b01ce6e2c8502e121ac",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/decidim/decidim/commit/57a4b467787448307b5d9b01ce6e2c8502e121ac"
                },
                {
                    "name": "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/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb#L11"
                },
                {
                    "name": "https://github.com/decidim/decidim/releases/tag/v0.27.5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/decidim/decidim/releases/tag/v0.27.5"
                },
                {
                    "name": "https://github.com/decidim/decidim/releases/tag/v0.28.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/decidim/decidim/releases/tag/v0.28.0"
                }
            ],
            "affected": [
                {
                    "vendor": "decidim",
                    "product": "decidim",
                    "versions": [
                        {
                            "version": ">= 0.23.0, < 0.27.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-02-20T17:26:38.896Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-f3qm-vfc3-jg6v",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T21:16:42.655Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/decidim/decidim/security/advisories/GHSA-f3qm-vfc3-jg6v",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/security/advisories/GHSA-f3qm-vfc3-jg6v"
                    },
                    {
                        "name": "https://github.com/decidim/decidim/pull/11743",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/pull/11743"
                    },
                    {
                        "name": "https://github.com/decidim/decidim/pull/6247",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/pull/6247"
                    },
                    {
                        "name": "https://github.com/decidim/decidim/commit/5542227be66e3b6d7530f5b536069bce09376660",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/commit/5542227be66e3b6d7530f5b536069bce09376660"
                    },
                    {
                        "name": "https://github.com/decidim/decidim/commit/57a4b467787448307b5d9b01ce6e2c8502e121ac",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/commit/57a4b467787448307b5d9b01ce6e2c8502e121ac"
                    },
                    {
                        "name": "https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb#L11",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnaire_templates_controller.rb#L11"
                    },
                    {
                        "name": "https://github.com/decidim/decidim/releases/tag/v0.27.5",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/releases/tag/v0.27.5"
                    },
                    {
                        "name": "https://github.com/decidim/decidim/releases/tag/v0.28.0",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/decidim/decidim/releases/tag/v0.28.0"
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "decidim",
                        "product": "decidim",
                        "cpes": [
                            "cpe:2.3:a:decidim:decidim:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0.23.0",
                                "status": "affected",
                                "lessThan": "0.27.5",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-22T13:23:33.057811Z",
                                "id": "CVE-2023-47635",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-22T13:25:39.658Z"
                }
            }
        ]
    }
}