原始 OSV JSON{
"id": "GHSA-x7m9-mwc2-g6w2",
"aliases": [
"CVE-2026-45697"
],
"details": "### Impact\n- 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).\n- Sites with public Formie forms that include at least one Hidden field with that configuration.\n- No CP login for the reported chain.\n\n### Patches\n- [2.2.20](https://github.com/verbb/formie/releases/tag/2.2.20), [3.1.24](https://github.com/verbb/formie/releases/tag/3.1.24)\n\n### Workarounds\n- Temporarily remove Hidden fields from public forms or switch Hidden default away from Custom where feasible\n- Otherwise, upgrade to patched versions",
"summary": "Formie: Pre-authenticated server-side template injection in Hidden fields",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0-beta.1"
},
{
"fixed": "3.1.24"
}
]
}
],
"package": {
"name": "verbb/formie",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.20"
}
]
}
],
"package": {
"name": "verbb/formie",
"ecosystem": "Packagist"
}
}
],
"modified": "2026-06-09T10:32:38Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2026-05-18T17:23:39Z",
"references": [
{
"url": "https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45697",
"type": "ADVISORY"
},
{
"url": "https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3",
"type": "WEB"
},
{
"url": "https://github.com/verbb/formie",
"type": "PACKAGE"
},
{
"url": "https://github.com/verbb/formie/releases/tag/2.2.20",
"type": "WEB"
},
{
"url": "https://github.com/verbb/formie/releases/tag/3.1.24",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-1336",
"CWE-693",
"CWE-94"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2026-05-29T20:16:27Z",
"github_reviewed_at": "2026-05-18T17:23:39Z"
}
}