{"id":"CVE-2026-4257","aliases":["EUVD-2026-17239","GHSA-fgcr-fh9h-2fw9"],"status":"published","title":"Contact Form by Supsystic \u003c= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.41475,"percentile":0.9869,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-94"],"published":"2026-03-30T21:26:10Z","modified":"2026-06-17T10:56:19Z","exploits":[{"source":"exploitdb","id":"EDB-52564","title":"WordPress Plugin Supsystic Contact Form 1.7.36 - SSTI","type":"webapps","platform":"multiple","date":"2026-05-14","url":"https://www.exploit-db.com/exploits/52564"},{"source":"metasploit","id":"exploit/multi/http/wp_plugin_supsystic_contact_form_rce","title":"Supsystic Contact Form Wordpress Plugin SSTI RCE","type":"exploit","platform":"Linux,Unix,Windows","date":"2026-03-30","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/wp_plugin_supsystic_contact_form_rce"},{"source":"nuclei","id":"CVE-2026-4257","title":"WordPress Contact Form by Supsystic - Server-Side Template Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4257.yaml"},{"source":"pocgithub","id":"bootstrapbool/cve-2026-4257","title":"bootstrapbool/cve-2026-4257","date":"2026-04-05","url":"https://github.com/bootstrapbool/cve-2026-4257"},{"source":"pocgithub","id":"dann3xplo1t/CVE-2026-4257","title":"dann3xplo1t/CVE-2026-4257","date":"2026-07-09","url":"https://github.com/dann3xplo1t/CVE-2026-4257"},{"source":"pocgithub","id":"shootcannon/CVE-2026-4257","title":"shootcannon/CVE-2026-4257","date":"2026-05-11","url":"https://github.com/shootcannon/CVE-2026-4257"}],"products":[{"vendor":"supsysticcom","product":"contact form by supsystic"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/415c9658-bfb2-453b-a697-c63c08b0ca61?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/contact-form-by-supsystic/tags/1.7.36/modules/forms/views/forms.php#L323"},{"url":"https://plugins.trac.wordpress.org/changeset/3491826/contact-form-by-supsystic"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4257"},{"url":"https://github.com/advisories/GHSA-fgcr-fh9h-2fw9"}],"sources":{"cve":[{"id":"CVE-2026-4257","title":"Contact Form by Supsystic \u003c= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality","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.","status":"published","published":"2026-03-30T21:26:10.228Z","modified":"2026-04-08T16:48:39.88Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:19:58.944663Z"}],"euvd":[{"id":"EUVD-2026-17239","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.","status":"published","published":"2026-03-30T21:26:10Z","modified":"2026-04-08T16:48:39Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T19:25:01.349884Z"}],"ghsa":[{"id":"GHSA-fgcr-fh9h-2fw9","title":"The Contact Form by Supsystic plugin for WordPress is vulnerable to Server-Side Template...","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.","status":"published","published":"2026-03-31T00:31:13Z","modified":"2026-03-31T00:31:19Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:06:55.849021Z"}],"nvd":[{"id":"CVE-2026-4257","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.","status":"published","published":"2026-03-30T22:16:20.313Z","modified":"2026-06-17T10:56:19.023Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:12:12.261218Z"}]}}
