CVE-2026-145572
8.2HighPublished Dec 5, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on confidentiality
- Weakness
- CWE-1336
What an attacker gets
Unauthenticated attackers can inject Twig expressions to steal sensitive data like the Craft security key and database DSN. They trigger this by sending malicious query parameters to form redirect URLs.
Root cause
The application performs server-side template injection by rendering user-supplied query parameters within form redirect URLs.
Affected versions
Formie 1.4.22 through 1.6.x, 2.x before 2.2.34, and 3.x before 3.1.37.
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Fix & remediation
Update Formie to version 1.7.0, 2.2.34, or 3.1.37 respectively. If you cannot update immediately, disable public form submissions that utilize redirect URLs with query parameters.
$ composer update verbb/formieAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Verbb Formie for Craft CMS 1.4.22 before 1.7.0, 2.x before 2.2.34, and 3.x before 3.1.37 contains a server-side template injection vulnerability that allows unauthenticated attackers to evaluate Twig expressions via query parameters merged into form redirect URLs. Attackers can submit a public form with Twig payloads in query parameters rendered by renderObjectTemplate() to disclose secrets like the Craft security key and database DSN.
References
- https://github.com/verbb/formie/blob/3.1.36/src/controllers/SubmissionsController.php#L1062-L1072
- https://github.com/verbb/formie/blob/3.1.36/src/elements/Form.php#L1058-L1070
- https://github.com/verbb/formie/commit/a26f8ea6065839e5b0ac911c56774efdf2738471
- https://github.com/verbb/formie/commit/b1db559b450d7074b26e670e4b22be8931c97867
- https://github.com/verbb/formie/commit/f35dd67eea61f9a4fa6ad300f4f3f92f257abae8
- https://github.com/verbb/formie/releases/tag/1.7.0
- https://github.com/verbb/formie/releases/tag/2.2.34
- https://github.com/verbb/formie/releases/tag/3.1.37
- https://github.com/verbb/formie/security/advisories/GHSA-g66r-rqjj-3fr2
- https://www.vulncheck.com/advisories/formie-1.4.22-before-1.7.0-2.2.34-and-3.1.37-ssti-via-redirect-url
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1455717.4HighUnauthenticated attackers can modify shared class attributes to tamper with application configuration or role data. This occurs by sending crafted state JSON to the /__ui__ UserEvent endpoint.
- CVE-2026-1449398.8HighLocal attackers can achieve full system compromise via a stack-based buffer overflow. This requires local access to the device.
- CVE-2026-1449379.9CriticalRemote attackers can execute arbitrary code with elevated privileges on the device. This requires low-privileged network access to the management interface.
- CVE-2026-812337.7HighLocal attackers can steal sessions and gain unauthorized access to the system. This requires local access to the host.
- CVE-2026-1455588.6HighUnauthenticated attackers can access manager APIs to read message history, enumerate users, and disrupt connections. They only need network access to the manager API port to forge tokens using the hardcoded secret.
- CVE-2026-1455568.1HighAttackers can execute arbitrary JavaScript in the SiYuan renderer to read or modify notes and files. This requires a user to clip a malicious web page and open the entry in the Inbox dock.