{
  "id": "CVE-2026-45697",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45697",
  "published_at": "2026-05-29T19:01:49.22Z",
  "title": "Formie: Pre-authenticated server-side template injection in Hidden fields",
  "vendor": "verbb",
  "product": "formie",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Formie is a Craft CMS plugin for creating forms. Prior to 2.2.20 and 3.1.24, unauthenticated users could submit crafted values into Hidden fields (with Default value → Custom) that were evaluated as Twig during submission handling, which could lead to serious compromise of the Craft site (depending on template/sandbox behavior). This vulnerability is fixed in 2.2.20 and 3.1.24.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "verbb",
        "product": "formie",
        "ranges": [
          "\u003c 2.2.20",
          "\u003e= 3.0.0-beta.1, \u003c 3.1.24"
        ],
        "fixed_in": [
          "2.2.20",
          "3.1.24"
        ]
      }
    ],
    "upgrade": [
      "Upgrade formie to 2.2.20 or 3.1.24 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/verbb/formie/releases/tag/2.2.20"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/verbb/formie/releases/tag/3.1.24"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
