Description
Formie is a Craft CMS plugin for creating forms. Prior to 2.2.20 and 3.1.24, unauthenticated users could submit crafted values into Hidden fields (with Default value → Custom) that were evaluated as Twig during submission handling, which could lead to serious compromise of the Craft site (depending on template/sandbox behavior). This vulnerability is fixed in 2.2.20 and 3.1.24.
Problem types
CWE-94: Improper Control of Generation of Code ('Code Injection')
CWE-693: Protection Mechanism Failure
CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
Product status
>= 3.0.0-beta.1, < 3.1.24
References
github.com/...formie/security/advisories/GHSA-x7m9-mwc2-g6w2
github.com/...ommit/f690d5623163ce2a95da305238d6367575486ee3
github.com/verbb/formie/releases/tag/2.2.20
github.com/verbb/formie/releases/tag/3.1.24