Home

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.

PUBLISHED Reserved 2026-05-13 | Published 2026-05-29 | Updated 2026-06-01 | Assigner GitHub_M




CRITICAL: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

CWE-693: Protection Mechanism Failure

CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Product status

< 2.2.20
affected

>= 3.0.0-beta.1, < 3.1.24
affected

References

github.com/...formie/security/advisories/GHSA-x7m9-mwc2-g6w2

github.com/...ommit/f690d5623163ce2a95da305238d6367575486ee3

github.com/verbb/formie/releases/tag/2.2.20

github.com/verbb/formie/releases/tag/3.1.24

cve.org (CVE-2026-45697)

nvd.nist.gov (CVE-2026-45697)

Download JSON