Intel

AIKIDO-2026-723224

verbb/formie is vulnerable to Missing Authorization

Missing AuthorizationGHSA-wm3q-jh2w-mm72 Published 4 days ago

54

Medium Risk

This Affects:

PHPverbb/formie
1.1.0 - 2.2.25
Fixed in 2.2.26
3.0.0 - 3.1.33
Fixed in 3.1.34
Are you affected? Scan for Free

TL;DR

The EmailController preview and test-send actions enforce no Formie permission and no control-panel access, so any authenticated Craft user, including a self-registered front-end account, can reach them. Both actions build a Notification entirely from request input with mass-assignment filtering disabled, letting the caller send email through the site mailer with a chosen recipient, from, subject and body, and render arbitrary notification content. Because notification fields are evaluated as Twig, the actions also expose sandboxed server-side template injection. The fix requires control-panel access and Formie permissions on both actions and restricts which notification attributes can be populated.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your site allows untrusted users to obtain an authenticated Craft session, such as self-registered front-end member accounts.

Background info

verbb/formie is vulnerable to Missing Authorization in versions 1.1.0 - 2.2.25 and 3.0.0 - 3.1.33.

How to fix this

Upgrade the verbb/formie library to the patch version.