{"api_version":"1","generated_at":"2026-05-30T03:46:24+00:00","cve":"CVE-2026-45697","urls":{"html":"https://cve.report/CVE-2026-45697","api":"https://cve.report/api/cve/CVE-2026-45697.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-45697","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45697"},"summary":{"title":"Formie: Pre-authenticated server-side template injection in Hidden fields","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-05-29 20:16:27","updated_at":"2026-05-29 20:21:38"},"problem_types":["CWE-94","CWE-693","CWE-1336","CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')","CWE-693 CWE-693: Protection Mechanism Failure","CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2","name":"https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3","name":"https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/verbb/formie/releases/tag/2.2.20","name":"https://github.com/verbb/formie/releases/tag/2.2.20","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/verbb/formie/releases/tag/3.1.24","name":"https://github.com/verbb/formie/releases/tag/3.1.24","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-45697","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45697","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"verbb","product":"formie","version":"affected < 2.2.20","platforms":[]},{"source":"CNA","vendor":"verbb","product":"formie","version":"affected >= 3.0.0-beta.1, < 3.1.24","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"formie","vendor":"verbb","versions":[{"status":"affected","version":"< 2.2.20"},{"status":"affected","version":">= 3.0.0-beta.1, < 3.1.24"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-29T19:01:49.220Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/verbb/formie/security/advisories/GHSA-x7m9-mwc2-g6w2"},{"name":"https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3","tags":["x_refsource_MISC"],"url":"https://github.com/verbb/formie/commit/f690d5623163ce2a95da305238d6367575486ee3"},{"name":"https://github.com/verbb/formie/releases/tag/2.2.20","tags":["x_refsource_MISC"],"url":"https://github.com/verbb/formie/releases/tag/2.2.20"},{"name":"https://github.com/verbb/formie/releases/tag/3.1.24","tags":["x_refsource_MISC"],"url":"https://github.com/verbb/formie/releases/tag/3.1.24"}],"source":{"advisory":"GHSA-x7m9-mwc2-g6w2","discovery":"UNKNOWN"},"title":"Formie: Pre-authenticated server-side template injection in Hidden fields"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-45697","datePublished":"2026-05-29T19:01:49.220Z","dateReserved":"2026-05-13T04:38:01.165Z","dateUpdated":"2026-05-29T19:01:49.220Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-29 20:16:27","lastModifiedDate":"2026-05-29 20:21:38","problem_types":["CWE-94","CWE-693","CWE-1336","CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')","CWE-693 CWE-693: Protection Mechanism Failure","CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"45697","Ordinal":"1","Title":"Formie: Pre-authenticated server-side template injection in Hidd","CVE":"CVE-2026-45697","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"45697","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Formie: Pre-authenticated server-side template injection in Hidd"}]}}}