CVE-2026-4257
The Contact Form by Supsystic plugin for WordPress is vulnerable to …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/contact-form-by-supsystic/tags/1.7.36/modules/forms/vie
- plugins.trac.wordpress.org/changeset/3491826/contact-form-by-supsystic
- www.wordfence.com/threat-intel/vulnerabilities/id/415c9658-bfb2-453b-a697-c63c08b0ca61?sou
- nvd.nist.gov/vuln/detail/CVE-2026-4257
- cve.org/CVERecord?id=CVE-2026-4257
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.