Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 61%

CVE-2026-45697: CWE-94: Improper Control of Generation of Code ('Code Injection') in verbb formie

0
Critical
VulnerabilityCVE-2026-45697cvecve-2026-45697cwe-94cwe-693cwe-1336
Published: 05/29/2026 (05/29/2026, 19:01:49 UTC)
Source: CVE Database V5
Vendor/Project: verbb
Product: formie

Description

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.

CVSS v3.1

Score 9.8critical

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

Affected software

GitHub Actionsmore threats →ai
verbb/formie
pkg:github/verbb/formie
Affected versions
<2.2.20<3.1.24

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/05/2026, 21:03:02 UTC

Technical Analysis

Formie, a Craft CMS plugin for form creation, had a vulnerability (CVE-2026-45697) where unauthenticated attackers could inject malicious Twig code via Hidden fields with custom default values. These values were evaluated during form submission, enabling code injection that could compromise the site. The issue affects versions before 2.2.20 and between 3.0.0-beta.1 and before 3.1.24. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code), CWE-693, and CWE-1336. It is rated critical with a CVSS 3.1 score of 9.8 (network attack vector, low complexity, no privileges or user interaction required, high impact on confidentiality, integrity, and availability).

Potential Impact

Successful exploitation allows unauthenticated attackers to execute arbitrary Twig code on the server, potentially leading to full site compromise including data theft, site defacement, or denial of service. The impact affects confidentiality, integrity, and availability of the Craft CMS site running the vulnerable Formie plugin versions.

Mitigation Recommendations

A fix is available in Formie versions 2.2.20 and 3.1.24. Users should upgrade to these or later versions to remediate the vulnerability. Patch status is confirmed by the version information in the advisory. No additional mitigation guidance is provided or required beyond applying the official updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-13T04:38:01.165Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a19e68ee29bf47b50037d6e

Added to database: 05/29/2026, 19:18:38 UTC

Last enriched: 06/05/2026, 21:03:02 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 87

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses