CVE-2024-35191: verbb/formie Server-Side Template Injection for variable-enabled settings

Published May 20, 2024
·
Updated

Impact Users with access to a form's settings can include malicious Twig code into fields that support Twig. These might be the Submission Title or the Success Message. This code will then be executed upon creating a submission, or rendering the text.

This is listed as low-medium severity due to requiring control panel access to edit a form's settings.

Patches This has been fixed in Formie 2.1.6. Users should ensure they are running at least this version.

Other sources

Formie is a Craft CMS plugin for creating forms. Prior to 2.1.6, users with access to a form's settings can include malicious Twig code into fields that support Twig. These might be the Submission Title or the Success Message. This code will then be executed upon creating a submission, or rendering the text. This has been fixed in Formie 2.1.6.

— MITRE

Affected Software

3 affected componentsFixes available
composer/verbb/formie<2.1.6
2.1.6
verbb Formie Craft Cms<2.0.44
verbb Formie Craft Cms>=2.1.0<2.1.6

Event History

May 20, 2024
CVE Published
via MITRE·08:26 PM
Data Sourced
via MITRE·08:26 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:26 PM
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35191?

CVE-2024-35191 is classified as a low to medium severity vulnerability.

2

How do I fix CVE-2024-35191?

To fix CVE-2024-35191, update the Verbb Formie package to version 2.1.6 or later.

3

Who is affected by CVE-2024-35191?

CVE-2024-35191 affects users who have access to form settings in the Verbb Formie package.

4

What type of vulnerability is CVE-2024-35191?

CVE-2024-35191 is a code injection vulnerability that allows malicious Twig code execution.

5

What impact does CVE-2024-35191 have on users?

The impact of CVE-2024-35191 allows arbitrary code to be executed when creating a submission or rendering the text.

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