Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. verbb/formie
  4. ›
  5. CVE-2024-35191

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

May 20, 2024

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.

References

  • github.com/advisories/GHSA-v45m-hxqp-fwf5
  • github.com/verbb/formie
  • github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420
  • github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5
  • nvd.nist.gov/vuln/detail/CVE-2024-35191

Code Behaviors & Features

Detect and mitigate CVE-2024-35191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.6

Fixed versions

  • 2.1.6

Solution

Upgrade to version 2.1.6 or above.

Impact 4.4 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

packagist/verbb/formie/CVE-2024-35191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:47 +0000.