Critical

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

  • Disclosed: 18.05.2026
  • Updated: 11.10.2026 10:22

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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package verbb/formie >= 3.0.0-beta.1, < 3.1.24, < 2.2.20 3.1.24, 2.2.20

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-1336, CWE-693, CWE-94
Platform
Composer
Package
verbb/formie
Disclosed
18.05.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-x7m9-mwc2-g6w2 - CC BY 4.0

Vulnerability history: verbb/formie

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
05.2024 09.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 4
  • Medium 4

Disclosures per year

  1. 2024: 1
  2. 2025: 2
  3. 2026: 7
Severity:
  1. High · 7.7 CVE-2026-76089 >= 3.0.0, < 3.1.31, < 2.2.23 3.1.31, 2.2.23
  2. High · 8.2 CVE-2026-76087 >= 3.0.0, < 3.1.31, < 2.2.23 3.1.31, 2.2.23
  3. High · 8.5 CVE-2026-76086 >= 3.0.0, < 3.1.31, < 2.2.23 3.1.31, 2.2.23
  4. Critical · 9.8 CVE-2026-52889 < 3.1.27 3.1.27
  5. High CVE-2026-47266 >= 3.0.0, < 3.1.26, < 2.2.21 3.1.26, 2.2.21
  6. Formie: Pre-authenticated server-side template injection in Hidden fields this entry
    Critical · 9.8 CVE-2026-45697 >= 3.0.0-beta.1, < 3.1.24, < 2.2.20 3.1.24, 2.2.20

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.