Skip to content
Heist/ feed
Back to feed
Medium

verbb/formie Server-Side Template Injection for variable-enabled settings

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-35191
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:05 UTC · Revision 1

Source evidence

verbb/formie Server-Side Template Injection for variable-enabled settings

core-osv · Original source

Published 20 May 2024, 20:26 UTC

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.

osv:CVE-2024-35191
Complete source record
{
  "id": "aa96f5266ce3a89d0376f312d8f8d9d381c99ff82c5fe32a18e9a2d769568473",
  "url": "https://osv.dev/vulnerability/CVE-2024-35191",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "verbb/formie Server-Side Template Injection for variable-enabled settings",
    "summary": "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.",
    "evidence": "osv:CVE-2024-35191",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-35191",
      "aliases": [
        "CVE-2024-35191",
        "GHSA-v45m-hxqp-fwf5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/verbb/formie",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5d2784e84a706cdcb3963176884264c336bdddb5"
                },
                {
                  "introduced": "0aeaf9c79d04f93ce85165a63a4575e494f82a33"
                },
                {
                  "fixed": "b65aaf6673d89149e37c9d1b227dac086f4fa10d"
                },
                {
                  "fixed": "90296edf7e707f117e760aa57e70dbd43a854420"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:verbb:formie:*:*:*:*:*:craft_cms:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.44"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:verbb:formie:*:*:*:*:*:craft_cms:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "90296edf7e707f117e760aa57e70dbd43a854420"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.43",
            "2.0.42",
            "2.0.41",
            "2.0.40",
            "2.0.39",
            "2.0.38",
            "2.0.37",
            "2.0.36",
            "2.0.35",
            "2.0.34.1",
            "2.0.34",
            "2.0.33",
            "2.0.32",
            "2.0.31",
            "2.0.30",
            "2.0.29",
            "2.0.28",
            "2.0.27.1",
            "2.0.27",
            "2.0.26",
            "2.0.25.1",
            "2.0.25",
            "2.0.24",
            "2.0.23.1",
            "2.0.23",
            "2.0.22",
            "2.0.21",
            "2.0.20",
            "2.0.19",
            "2.0.17",
            "2.0.16",
            "2.0.15",
            "2.0.14",
            "2.0.13",
            "2.0.12",
            "2.0.11",
            "2.0.10",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.5",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "2.0.0-beta.16",
            "2.0.0-beta.15",
            "2.0.0-beta.14",
            "2.0.0-beta.13",
            "2.0.0-beta.9",
            "2.0.0-beta.8",
            "2.0.0-beta.6",
            "2.0.0-beta.5",
            "2.0.0-beta.4",
            "2.0.0-beta.3",
            "2.0.0-beta.2",
            "2.0.0-beta.1",
            "1.5.10",
            "1.5.9",
            "1.5.8",
            "1.5.7",
            "1.5.6",
            "1.5.5",
            "1.5.4",
            "1.5.3",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.4.22",
            "1.4.21.1",
            "1.4.21",
            "1.4.20",
            "1.4.19",
            "1.4.18",
            "1.4.17",
            "1.4.16",
            "1.4.15",
            "1.4.14",
            "1.4.13",
            "1.4.12",
            "1.4.11",
            "1.4.10",
            "1.4.9",
            "1.4.8",
            "1.4.7",
            "1.4.6",
            "1.4.5",
            "1.4.4",
            "1.4.3",
            "1.4.2",
            "1.4.1",
            "1.4.0.1",
            "1.4.0",
            "1.2.25",
            "1.2.24",
            "1.2.23.1",
            "1.2.23",
            "1.2.22",
            "1.2.21",
            "1.2.20",
            "1.2.19",
            "1.2.18",
            "1.2.17",
            "1.2.16",
            "1.2.15",
            "1.2.14",
            "1.2.13",
            "1.2.12",
            "1.2.11",
            "1.2.10",
            "1.2.9",
            "1.2.8",
            "1.2.7.1",
            "1.2.7",
            "1.2.6",
            "1.2.5",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1.1.1",
            "1.1.1",
            "1.1.0",
            "1.0.9.1",
            "1.0.9",
            "1.0.8",
            "1.0.7",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.2",
            "1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35191.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.962525524Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35191.json",
        "https://github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35191",
        "https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1336"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35191.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35191",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505137,
  "published_at": "2024-05-20T20:26:24.492+00:00"
}