Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-45697

Formie: Pre-authenticated server-side template injection in Hidden fields
Back to all
CVE

CVE-2026-45697

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

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2, https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3, https://github.com/verbb/formie, https://github.com/verbb/formie/releases/tag/2.2.20, https://github.com/verbb/formie/releases/tag/3.1.24

Severity

9.8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
9.8
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
3.0.0-beta.1,0
Fix Available
3.1.24,2.2.20

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading