{"id":"CVE-2026-45697","state":"PUBLISHED","title":"Formie: Pre-authenticated server-side template injection in Hidden fields","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.","publishedAt":"2026-05-29T19:01:49.220Z","updatedAt":"2026-06-01T15:18:51.317Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["verbb formie"],"affected":[{"vendor":"verbb","product":"formie","versions":[{"version":"< 2.2.20","status":"affected"},{"version":">= 3.0.0-beta.1, < 3.1.24","status":"affected"}]}],"references":["https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2","https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3","https://github.com/verbb/formie/releases/tag/2.2.20","https://github.com/verbb/formie/releases/tag/3.1.24"],"weaknesses":["CWE-94","CWE-693","CWE-1336"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45697.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45697","state":"PUBLISHED","datePublished":"2026-05-29T19:01:49.220Z","dateUpdated":"2026-06-01T15:18:51.317Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-13T04:38:01.165Z"},"containers":{"cna":{"title":"Formie: Pre-authenticated server-side template injection in Hidden fields","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"verbb","product":"formie","versions":[{"version":"< 2.2.20","status":"affected"},{"version":">= 3.0.0-beta.1, < 3.1.24","status":"affected"}]}],"references":[{"url":"https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2","name":"https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3","name":"https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3","tags":["x_refsource_MISC"]},{"url":"https://github.com/verbb/formie/releases/tag/2.2.20","name":"https://github.com/verbb/formie/releases/tag/2.2.20","tags":["x_refsource_MISC"]},{"url":"https://github.com/verbb/formie/releases/tag/3.1.24","name":"https://github.com/verbb/formie/releases/tag/3.1.24","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-29T19:01:49.220Z"},"source":{"advisory":"GHSA-x7m9-mwc2-g6w2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-01T15:18:36.758634Z","id":"CVE-2026-45697","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-01T15:18:51.317Z"}}]}}}