critical9.8
CVE-2026-45697
Formie: Pre-authenticated server-side template injection in Hidden fields
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | verbb/formie | >= 3.0.0-beta.1, < 3.1.24 | 3.1.24 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-x7m9-mwc2-g6w2
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-45697