Advisory

GHSA-v45m-hxqp-fwf5

Also known as: CVE-2024-35191

Summary

verbb/formie Server-Side Template Injection for variable-enabled settings

Details

Impact
Users with access to a form's settings can include malicious Twig code into fields that support Twig. These might be the Submission Title or the Success Message. This code will then be executed upon creating a submission, or rendering the text.

This is listed as low-medium severity due to requiring control panel access to edit a form's settings.

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-20 20:26 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

verbb/formie

Packagist · All systems

Affected

  • introduced 0, fixed 2.1.6 (ecosystem)

Fixed versions

2.1.6

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