verbb/formie · Security

Formie has XSS vulnerability for importing forms

GHSA ID
GHSA-p9hh-mh5x-wvx3
CVE ID
CVE-2025-32427
Severity
medium
Published
Updated
CVSS v4
5.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Description

Impact

When importing a form from JSON, if the field label or handle contained malicious content, the output wasn't correctly escaped when viewing a preview of what was to be imported.

As imports are undertaking primarily by users who have themselves exported the form from one environment to another, and would require direct manipulation of the JSON export, this is marked as moderate. This vulnerability will not occur unless someone deliberately tampers with the export.

Patches

This has been fixed in Formie 2.1.44. Users should ensure they are running at least this version.

CWEs

References