CVE-2023-47635: Decidim vulnerable to possible CSRF attack at questionnaire templates preview

Published Feb 20, 2024
·
Updated

Impact The CSRF authenticity token check is currently disabled for the questionnaire templates preview as per: https://github.com/decidim/decidim/blob/3187bdfd40ea1c57c2c12512b09a7fec0b2bed08/decidim-templates/app/controllers/decidim/templates/admin/questionnairetemplatescontroller.rb#L11

This was introduced by this commit in the PR that introduced this feature (#6247): https://github.com/decidim/decidim/pull/6247/commits/5542227be66e3b6d7530f5b536069bce09376660

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.

Patches #11743

Workarounds Disable the templates functionality or remove all available templates.

References #11743

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
rubygems/decidim-templates>=0.23.0<0.27.5
0.27.5
decidim Decidim Ruby>=0.23.0<0.27.5

Event History

Feb 20, 2024
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:03 PM
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-47635?

CVE-2023-47635 is classified as a medium severity vulnerability due to the lack of CSRF protection in the questionnaire templates preview.

2

How do I fix CVE-2023-47635?

To fix CVE-2023-47635, you should update the decidim-templates package to a version beyond 0.27.5.

3

What are the affected versions of CVE-2023-47635?

The affected versions of CVE-2023-47635 include decidim-templates versions between 0.23.0 and 0.27.5.

4

What type of vulnerability is CVE-2023-47635?

CVE-2023-47635 is a Cross-Site Request Forgery (CSRF) vulnerability due to a disabled authenticity token check.

5

Which software is impacted by CVE-2023-47635?

CVE-2023-47635 impacts the decidim framework, specifically the decidim-templates package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203