CVE-2026-4257
Last modified
CVE-2026-4257 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. The Contact Form by Supsystic plugin for WordPress is vulnerable to Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in all versions up to, and including, 1.7.36. This is due to the plugin using the Twig `Twig_Loader_String` template engine without sandboxing, combined with the `cfsPreFill` prefill functionality that allows unauthenticated users to inject arbitrary Twig expressions into form field values via GET parameters. EPSS estimates a 41.48% chance of exploitation in the next 30 days.
Description
The Contact Form by Supsystic plugin for WordPress is vulnerable to Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in all versions up to, and including, 1.7.36. This is due to the plugin using the Twig `Twig_Loader_String` template engine without sandboxing, combined with the `cfsPreFill` prefill functionality that allows unauthenticated users to inject arbitrary Twig expressions into form field values via GET parameters. This makes it possible for unauthenticated attackers to execute arbitrary PHP functions and OS commands on the server by leveraging Twig's `registerUndefinedFilterCallback()` method to register arbitrary PHP callbacks.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4257?
How severe is CVE-2026-4257?
How do I fix CVE-2026-4257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-42564jotty·page is a self-hosted app for your checklists and note…8.2
- CVE-2026-42565@workos/authkit-session is a toolkit for building WorkOS Aut…4.3
- CVE-2026-42566Meshtastic is an open source mesh networking solution. Prior…7.5
- CVE-2026-42567Svelte is a performance oriented web framework. From version…7.5
- CVE-2026-42568Yamcs is a mission control framework. Prior to versions 5.13…4.3
- CVE-2026-42569phpVMS is a PHP application to run and simulate an airline. …9.4
- CVE-2026-42570Svelte devalue is a JavaScript library that serializes value…7.5
- CVE-2026-42571Pelican is a platform for creating data federations. From ve…9
- CVE-2026-42572Hatchet is a platform for orchestrating background tasks, AI…6.5
- CVE-2026-42573Svelte is a performance oriented web framework. Prior to ver…6.1
- CVE-2026-42574apko allows users to build and publish OCI container images …7.5
- CVE-2026-42575apko allows users to build and publish OCI container images …7.5
Are you affected by CVE-2026-4257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
