Loading...
Skip to main content

CVE-2026-45697 — Vulnerability in verbb/formie — CVE Details

CRITICAL

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

Published May 18, 2026Updated September 10, 2026Source: osv

Summary

### 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 - [2.2.20](https://github.com/verbb/formie/releases/tag/2.2.20), [3.1.24](https://github.com/verbb/formie/releases/tag/3.1.24) ### Workarounds - Temporarily remove Hidden fields from public forms or switch Hidden default away from Custom where feasible - Otherwise, upgrade to patched versions

Advisory Timeline

  • First published May 18, 2026 (147 days ago).
  • Last revised September 10, 2026 — 114 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update verbb/formie to 2.2.20 or later
composer require "verbb/formie:^2.2.20"
Composer
Update verbb/formie to 3.1.24 or later
composer require "verbb/formie:^3.1.24"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
verbb/formie
packagist
1.0.0, 1.0.1, 1.0.2, 1.0.3 (+321 more)2.2.20
verbb/formie
packagist
3.0.0, 3.0.0-beta.1, 3.0.0-beta.10, 3.0.0-beta.11 (+73 more)3.1.24

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-45697?
Formie: Pre-authenticated server-side template injection in Hidden fields This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-45697?
CVE-2026-45697 affects verbb/formie. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-45697 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-x7m9-mwc2-g6w2

Related CVEs

  • CVE-2026-52889
    CRITICAL

    Formie Hidden field defaults vulnerable to Server-Side Template Injection

  • CVE-2026-107845
    CRITICAL

    Contao: Cross-site scripting in the comments bundle

  • CVE-2026-92161
    CRITICAL

    FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider

  • CVE-2026-76087
    HIGH

    Formie: Unauthenticated users can overwrite incomplete submissions via submit action

  • CVE-2026-76086
    HIGH

    Formie: Integration form-settings action allows SSRF and exfiltration of stored integration credentials

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies