Critical severity · published Aug 19, 2026
CVE-2026-52889
Formie: Server-Side Template Injection in Formie Hidden field defaults
9.8
CVSS
1.3%
EPSS
No
On KEV
Description
Formie is a Craft CMS plugin for creating forms. Prior to 3.1.27, Formie can pass request-derived Hidden field defaults such as HTTP User Agent, Referer URL, Current URL, Current URL without Query String, Query Parameter, and Cookie Value to Craft's Twig rendering layer during front-end form rendering. An unauthenticated attacker can place Twig syntax in one of these request-controlled inputs when a public form contains an affected Hidden field. Hidden::getFrontEndInputOptions() then assigns the value to defaultValue and calls renderString, causing server-side template evaluation rather than treating the request data as a plain string. Depending on the Craft site configuration and available Twig capabilities, exploitation can disclose sensitive information, modify application state, or achieve remote code execution. This issue is fixed in version 3.1.27.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FO
formie · verbb
< 3.1.27 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-52889
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-52889
github.com
https://github.com/verbb/formie/commit/d3b9d15290405e484e3b5c91c5d8fab93047f9b2
github.com
https://github.com/verbb/formie/releases/tag/3.1.27
github.com
https://github.com/verbb/formie/security/advisories/GHSA-565m-g33j-jq96
More from formie
9.8
CVE-2026-45697
Formie: Pre-authenticated server-side template injection in Hidden fields
8.7
CVE-2026-47266
Formie: Unauthenticated front-end submission editing can overwrite existing submissions
8.5
CVE-2026-76086
Formie: Integration form-settings action allows SSRF and exfiltration of stored integration credentials
8.2
CVE-2026-76087
Formie: Unauthenticated users can overwrite incomplete submissions via submit action
7.7
CVE-2026-76089
Formie: Missing authorization on sent notification resend modal exposes submission PII
