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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1336"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35191.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:verbb:formie:*:*:*:*:*:craft_cms:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.44"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:verbb:formie:*:*:*:*:*:craft_cms:*:*",
"range": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "90296edf7e707f117e760aa57e70dbd43a854420"
}
],
"source": "REFERENCES_COMMIT"
}
]
}