Advisory

GHSA-p9hh-mh5x-wvx3

Also known as: CVE-2025-32427

Summary

Formie has XSS vulnerability for importing forms

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-11 19:58 UTC
Modified
2025-04-11 20:27 UTC

Affected packages and fixes

verbb/formie

Packagist · All systems

Affected

  • introduced 0, fixed 2.1.44 (ecosystem)

Fixed versions

2.1.44

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences