Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-52889 – Unauthenticated Server-Side Template Injection (SSTI) leading to RCE – Formie plugi

Be the first to know when new zero-days emerge:

Summary

CVE-2026-52889 is a critical Server-Side Template Injection (SSTI) vulnerability in Formie, a widely used form-building plugin for Craft CMS. The plugin passed request-controlled values used as Hidden field defaults (HTTP User Agent, Referer URL, Current URL, Query Parameter, and Cookie Value) into Craft’s Twig rendering engine without proper sanitization, allowing an unauthenticated attacker to inject and execute Twig template syntax server-side. The issue carries a CVSS v3.1 base score of 9.8 (Critical) and affects all Formie sites exposing a public form that uses a Hidden field with a request-derived default value.

Technical details

  • Root cause: Formie’s Hidden field supported dynamic default values sourced directly from incoming HTTP request data (User Agent header, Referer header, current URL, query string parameters, and cookie values), and these values were rendered through Craft CMS’s Twig templating engine without sanitizing or escaping Twig syntax.
  • Trigger conditions: A public-facing form must contain a Hidden field configured to use one of the affected request-derived default value types.
  • Attack vector: Network-based and unauthenticated — an attacker can simply submit a crafted HTTP request (e.g., via a manipulated User-Agent/Referer header, query parameter, or cookie) to a public form endpoint to have malicious Twig syntax evaluated on the server.
  • Impact: Because Craft’s Twig environment exposes application objects, successful exploitation can lead to disclosure of sensitive information, modification of application state, and potentially remote code execution.

Affected software

  • verbb/formie (Craft CMS plugin), versions from 3.0.0-beta.1 up to and including 3.1.26

Severity

  • CVSS v3.1 Base Score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Upgrade Formie to version 3.1.27 or later, which restricts Twig rendering to admin-authored "custom default" templates only, removing evaluation of request-derived values as Twig.
  • If immediate patching is not possible: Audit all public forms for Hidden fields configured with dynamic defaults (User Agent, Referer URL, Current URL, Query Parameter, or Cookie Value) and reconfigure or disable those fields until the upgrade can be applied. Consider restricting or filtering suspicious header/query/cookie values at a WAF or reverse proxy pending the update.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge