What’s Vulnerable › Vulnerabilities
CVE-2024-35191: verbb/formie Server-Side Template Injection for variable-enabled settings
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-20 · updated 2026-06-17
- Weakness: CWE-1336
Description
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.
Affected products
- verbb formie: before 2.0.44; from 2.1.0 before 2.1.6 — fixed in 2.0.44, 2.1.6
How to fix
Upgrade to a fixed version: verbb formie 2.0.44, 2.1.6. Check the vendor advisory for mitigations.
References
- https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420
- https://github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5
- https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420
- https://github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5
Get alerted when CVE-2024-35191 or the next vulnerability affects your stack