CVE-2026-45697: Formie: Pre-authenticated server-side template injection in Hidden fields
(updated )
- 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).
- Sites with public Formie forms that include at least one Hidden field with that configuration.
- No CP login for the reported chain.
References
- github.com/advisories/GHSA-x7m9-mwc2-g6w2
- github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3
- github.com/verbb/formie/releases/tag/2.2.20
- github.com/verbb/formie/releases/tag/3.1.24
- github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2
- nvd.nist.gov/vuln/detail/CVE-2026-45697
Code Behaviors & Features
Detect and mitigate CVE-2026-45697 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →