Intel

AIKIDO-2025-10234

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

CVE-2025-32426Published Apr 14, 2025
April 14, 2025

88

CVE Score

High

Cross-site Scripting (XSS)

Are you affected? Scan for Free

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.

How do I fix this?

Upgrade the verbb/formie library to the patch version.

Who does this affect?

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

Versions

2.0.0 - 2.1.43

Fixed in 2.1.44

3.0.0 - 3.0.22

Fixed in 3.0.23

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.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea