CVE-2026-45697
CRITICAL 9.8CVSS 3.1Formie: Pre-authenticated server-side template injection in Hidden fields
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.
- Published
- 29 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1336CWE-693CWE-94
- Also known as
- GHSA-x7m9-mwc2-g6w2
- Sources
- NVDJSONOSV GHSA-x7m9-mwc2-g6w2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | verbb/formie | >= 3.0.0-beta.1, < 3.1.24 | 3.1.24 |
| OSV | Packagist | verbb/formie | < 2.2.20 | 2.2.20 |
References
- https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3 · WEB
- https://github.com/verbb/formie/releases/tag/2.2.20 · WEB
- https://github.com/verbb/formie/releases/tag/3.1.24 · WEB
- https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45697 · ADVISORY
- https://github.com/verbb/formie · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 29 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 May 2026)