verbb/formie · Security
verbb/formie Server-Side Template Injection for variable-enabled settings
- GHSA ID
- GHSA-v45m-hxqp-fwf5
- CVE ID
- CVE-2024-35191
- Severity
- medium
- Published
- Updated
- CVSS
- 4.4 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 4.4 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Description
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.
CWEs
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine