verbb/formie is vulnerable to Server-Side Template Injection (SSTI)
53
Medium Risk
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.
You are affected if you run Formie in a version that falls within the vulnerable range and expose public forms that redirect after submission.
verbb/formie is vulnerable to Server-Side Template Injection (SSTI) in versions 0.0.1 - 3.1.36.
Upgrade the verbb/formie library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.