Advisory

GHSA-x7m9-mwc2-g6w2

Also known as: CVE-2026-45697

Summary

Formie: Pre-authenticated server-side template injection in Hidden fields

Details

Impact

  • Unauthenticated users could submit crafted values into Hidden fields (with Default value → Custom) that were evaluated as Twig during submission handling, which could lead to serious compromise of the Craft site (depending on template/sandbox behavior).
  • Sites with public Formie forms that include at least one Hidden field with that configuration.
  • No CP login for the reported chain.

Patches

Workarounds

  • Temporarily remove Hidden fields from public forms or switch Hidden default away from Custom where feasible
  • Otherwise, upgrade to patched versions

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-05-18 17:23 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

verbb/formie

Packagist · All systems

Affected

  • introduced 3.0.0-beta.1, fixed 3.1.24 (ecosystem)

Fixed versions

3.1.24

Fix

The export has no generic command for this ecosystem.

verbb/formie

Packagist · All systems

Affected

  • introduced 0, fixed 2.2.20 (ecosystem)

Fixed versions

2.2.20

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