{"id":"CVE-2024-35191","published":"2024-05-20T20:26:24Z","modified":"2024-08-02T03:07:46Z","title":"verbb/formie Server-Side Template Injection for variable-enabled settings","vendor":"verbb","product":"formie","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00253,"percentile":0.17188,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420","tags":["x_refsource_MISC"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":3.44},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"verbb","affectedVersions":[{"vendor":"verbb","product":"formie","versions":["< 2.1.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T14:44:43.052581Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"verbb/formie","vulnerableRanges":["<2.1.6"],"patched":["2.1.6"],"from":["GHSA-v45m-hxqp-fwf5"],"provenance":"source"}],"summary":{"text":"The flaw is a server-side template injection in verbb's Formie plugin for Craft CMS, where fields that accept Twig code, such as the Submission Title and Success Message, fail to neutralise template syntax. An attacker who already holds privileges to view or edit a form's settings, and who can therefore reach those fields, can embed malicious Twig that executes on the server when a submission is created or when the text is rendered; exploitation requires local access with high privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:02Z"},"euvd":{"id":"EUVD-2024-1787","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-verbb-formie-cve-2024-35191","children":[{"from":"CVE-2024-35191","to":"CVE-2026-45697","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/fields/formfields/Hidden.php"],"commits":["https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420","https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3"],"basis":"shared function","functions":["serializeValue"]}]},{"from":"CVE-2024-35191","to":"CVE-2026-76087","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/controllers/SubmissionsController.php"],"commits":["https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420","https://github.com/verbb/formie/commit/323c2fe647a76fbccadf749728ee4ad9420efee1","https://github.com/verbb/formie/commit/78a298ac3baf85ac283988dfce9cd42c9b958f16"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-35191","published":"2024-05-20","fixed":"2.1.6","kev":false},{"cve":"CVE-2025-32426","published":"2025-04-11","fixed":"2.1.44","kev":false,"link":{"from":"CVE-2024-35191","to":"CVE-2025-32426","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:verbb/formie","fromFixed":"2.1.6","toFixed":"2.1.44","daysApart":326}]}},{"cve":"CVE-2025-32427","published":"2025-04-11","fixed":"2.1.44","kev":false,"link":{"from":"CVE-2024-35191","to":"CVE-2025-32427","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:verbb/formie","fromFixed":"2.1.6","toFixed":"2.1.44","daysApart":326}]}},{"cve":"CVE-2026-45697","published":"2026-05-29","fixed":"3.1.24","kev":false}],"package":"Packagist:verbb/formie"}}