Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-52889— Formie: Server-Side Template Injection in Formie Hidden field defaults

Quick assessment

Affected
verbb formie
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Formie 是一个用于创建表单的 Craft CMS 插件。在 3.1.27 版本之前,Formie 在前端表单渲染期间,会将来自请求的隐藏字段默认值(例如 HTTP 用户代理、来源 URL、当前 URL、无查询字符串的当前 URL、查询参数和 Cookie 值)传递到 Craft 的 Twig 渲染层。未认证的攻击者可以在包含受影响隐藏字段的公共表单中,向这些由请求控制的输入字段注入 Twig 语法。随后, 方法会将该值赋给 并调用 ,从而导致服务器端模板执行,而不是将请求数据当作普通字符串处理。根据 Craf

CVSS 9.8 · Critical EPSS 0.68% · P50

Affected Version Matrix 1

VendorProduct Version RangeStatus
verbb formie < 3.1.27 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-52889

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Formie: Server-Side Template Injection in Formie Hidden field defaults
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1336
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
verbb formie < 3.1.27 -

II. Public POCs for CVE-2026-52889

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 16072 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-52889

登录查看更多情报信息。

Patches & Fixes for CVE-2026-52889 (1)

Vendor Advisories for CVE-2026-52889 (1)

Vendor Pages for CVE-2026-52889 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-52889

No comments yet


Leave a comment