All reports
Critical

Formie: Pre-authenticated server-side template injection in Hidden fields

Affected versions

Affected versions
>= 3.0.0-beta.1, < 3.1.24
Fixed version
3.1.24
Affected versions
< 2.2.20
Fixed version
2.2.20

Exploitation

CVE-2026-45697

Probability of exploitation in the next 30 days: 0.48%

FIRST EPSS · 2026-11-22

Description

Impact
  • 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).

  • Sites with public Formie forms that include at least one Hidden field with that configuration.

  • No CP login for the reported chain.

Patches
Workarounds
  • Temporarily remove Hidden fields from public forms or switch Hidden default away from Custom where feasible

  • Otherwise, upgrade to patched versions

Links

Credits

  • pwnsauc3