Intel

AIKIDO-2026-678815

verbb/formie is vulnerable to Server-Side Template Injection (SSTI)

Server-Side Template Injection (SSTI)GHSA-g66r-rqjj-3fr2 Published Yesterday

53

Medium Risk

This Affects:

PHPverbb/formie
0.0.1 - 3.1.36
Fixed in 3.1.37
Are you affected? Scan for Free

TL;DR

Formie merges incoming request query-string parameters into configured form redirect URLs, which are then processed through the Twig template renderer during public form submissions. Because request-derived query values are evaluated as object-template syntax rather than treated as literal data, unauthenticated submitters can inject Twig expressions that are evaluated server-side and reflected in redirect responses, bypassing the HMAC protection applied to posted redirect parameters. The fix renders redirect URLs through a restricted renderer and encodes request query values as literal URL data instead of evaluating them as template syntax.

Who does this affect?

You are affected if you run Formie in a version that falls within the vulnerable range and expose public forms that redirect after submission.

Background info

verbb/formie is vulnerable to Server-Side Template Injection (SSTI) in versions 0.0.1 - 3.1.36.

How to fix this

Upgrade the verbb/formie library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform