CVE-2025-32426: Verbb/formie Cross-Site Scripting Vulnerability
MODERATECVE-2025-32426 is a MODERATE (CVSS 4.6) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Verbb/formie libraries in the Packagist ecosystem. The issue involves formie has xss vulnerability for email notification content for preview. Remediation is available by upgrading affected packages to version 2.1.44.
CVE-2025-32426 at a Glance
Security Impact
CVSS: 4.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2025-32426
To remediate this vulnerability, upgrade all affected Verbb/formie dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade verbb/formie to 2.1.44
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for verbb/formie
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-32426, inspect your project dependencies for Verbb/formie:
inspect dependencies for verbb/formie
Analyze the terminal output to locate any version of Verbb/formie in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.44), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Verbb/formie, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-32426 Affected Verbb/formie Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
verbb/formie
|
Packagist |
< 2.1.44
|
2.1.44
|
References
Frequently Asked Questions
What is CVE-2025-32426?
Which Verbb/formie versions are affected?
What version fixes CVE-2025-32426?
Is verbb/formie affected?
What is the CVSS score of CVE-2025-32426?
What CWE is associated with CVE-2025-32426?
How can I check Packagist dependencies for CVE-2025-32426?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2xm2-23ff-p8ww",
"modified" : "2025-04-11T19:59:04Z",
"published" : "2025-04-11T19:59:04Z",
"aliases" : [ "CVE-2025-32426" ],
"summary" : "Formie has XSS vulnerability for email notification content for preview",
"details" : "### Impact\nIt is possible to inject malicious code into the HTML content of an email notification, which is then rendered on the preview. There is no issue when rendering the email via normal means (a delivered email).\n\nThis would require access to the form's email notification settings.\n\n### Patches\nThis has been fixed in Formie 2.1.44. Users should ensure they are running at least this version.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "verbb/formie"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.44"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.1.43"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/verbb/formie/security/advisories/GHSA-2xm2-23ff-p8ww"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32426"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/verbb/formie"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-11T19:59:04Z",
"nvd_published_at" : "2025-04-11T14:15:25Z"
}
}