CVE-2026-145572: Formie 1.4.22 before 1.7.0, 2.2.34, and 3.1.37 SSTI via Redirect URL
Verbb Formie for Craft CMS 1.4.22 before 1.7.0, 2.x before 2.2.34, and 3.x before 3.1.37 contains a server-side template injection vulnerability that allows unauthenticated attackers to evaluate Twig expressions via query parameters merged into form redirect URLs. Attackers can submit a public form with Twig payloads in query parameters rendered by renderObjectTemplate() to disclose secrets like the Craft security key and database DSN.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Formie installations in the affected version ranges are exposed when they have a public form whose redirect URL processes query parameters. The disclosed attack path does not require authentication or user interaction.
What does an attacker need to exploit the vulnerability?
An attacker needs to be able to submit a public Formie form and supply Twig payloads through query parameters that are merged into the form's redirect URL. The payload is then evaluated through renderObjectTemplate().
What information could be exposed?
Successful exploitation can disclose sensitive values available to Twig evaluation, including the Craft security key and the database DSN. The provided data describes confidentiality impact as high and integrity impact as low.
Which versions contain the fixes?
The fixed versions are Formie 1.7.0, 2.2.34, and 3.1.37. Versions before those releases within the stated affected branches are vulnerable.