Intel

AIKIDO-2025-10234

verbb/formie is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2025-32426

88

High Risk

This Affects:

PHPverbb/formie
2.0.0 - 2.1.43
Fixed in 2.1.44
3.0.0 - 3.0.22
Fixed in 3.0.23

TL;DR

Affected versions of this package are vulnerable to Cross-Site Scripting (XSS) attacks via email notification content due to improper sanitization of the getHtmlBody() method, as well as when importing forms with manipulated field content that renders unsanitized user input. An attacker can exploit these issues by injecting malicious scripts into email notifications or form fields, which are then executed in the victim's browser when the content is rendered, potentially leading to session hijacking, data theft, or arbitrary code execution.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

verbb/formie is vulnerable to Cross-site Scripting (XSS) in versions 2.0.0 - 2.1.43 and 3.0.0 - 3.0.22.

How to fix this

Upgrade the verbb/formie library to the patch version.