CVE-2024-35191
MEDIUM 4.4CVSS 3.1verbb/formie Server-Side Template Injection for variable-enabled settings
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.
- Published
- 20 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1336
- Also known as
- GHSA-v45m-hxqp-fwf5
- Sources
- NVDJSONOSV GHSA-v45m-hxqp-fwf5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | verbb | formiecpe:2.3:a:verbb:formie:*:*:*:*:*:craft_cms:*:* |
< 2.0.44 | 2.0.44 |
| NVD | verbb | formiecpe:2.3:a:verbb:formie:*:*:*:*:*:craft_cms:*:* |
>= 2.1.0, < 2.1.6 | 2.1.6 |
| OSV | Packagist | verbb/formie | < 2.1.6 | 2.1.6 |
References
- https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420 · Patch, WEB
- https://github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-35191 · ADVISORY
- https://github.com/verbb/formie · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 20 May 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 20 May 2024)