---
title: "CVE-2026-45697: Formie: Pre-authenticated server-side template injection in Hidden fields"
url: https://erroneo.us/security/cve/CVE-2026-45697/
description: "CVE-2026-45697 (verbb/formie (Composer (PHP))): Formie is a Craft CMS plugin for creating forms. Prior to 2.2.20 and 3.1.24, unauthenticated users could…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-29
date_modified: 2026-06-09
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-45697"
kev: false
cvss: 9.8
epss: 0.00813
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-45697: Formie: Pre-authenticated server-side template injection in Hidden fields

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.8% , percentile 57: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 57% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes verbb/formie (Composer (PHP)) >= 3.0.0-beta.1, < 3.1.24, fixed in 3.1.24 ; verbb/formie (Composer (PHP)) < 2.2.20, fixed in 2.2.20 . Check your lockfile, including transitive dependencies.

## What it is

Formie is a Craft CMS plugin for creating forms. Prior to 2.2.20 and 3.1.24, 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). This vulnerability is fixed in 2.2.20 and 3.1.24.

## Affected packages

- Composer (PHP) `verbb/formie` >= 3.0.0-beta.1, < 3.1.24 → fixed: 3.1.24
- Composer (PHP) `verbb/formie` < 2.2.20 → fixed: 2.2.20

## Affected products (CVE record)

- verbb formie: < 2.2.20, >= 3.0.0-beta.1, < 3.1.24

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.81% probability of exploitation activity in the next 30 days; percentile 57.

## Sources

- [GitHub Advisory GHSA-x7m9-mwc2-g6w2](https://github.com/advisories/GHSA-x7m9-mwc2-g6w2)
- [CVE.org record CVE-2026-45697](https://www.cve.org/CVERecord?id=CVE-2026-45697)
- [NVD entry CVE-2026-45697](https://nvd.nist.gov/vuln/detail/CVE-2026-45697)
- [github.com](https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2)
- [github.com](https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3)
- [github.com](https://github.com/verbb/formie/releases/tag/2.2.20)
- [github.com](https://github.com/verbb/formie/releases/tag/3.1.24)

---
Source page: https://erroneo.us/security/cve/CVE-2026-45697/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
