{"id":"CVE-2026-4257","published":"2026-03-30T21:26:10Z","modified":"2026-04-08T16:48:39Z","title":"Contact Form by Supsystic <= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality","vendor":"supsysticcom","product":"Contact Form by Supsystic","tier":"core","eol":null,"affectedVersions":[{"vendor":"supsysticcom","product":"Contact Form by Supsystic","versions":["<= 1.7.36"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-31T16:13:43.800701Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.42181,"percentile":0.98728,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-10-13","exploitedFirstSeen":"2026-10-13","ransomware":false,"evidence":[{"url":"https://patchstack.com/database/wordpress/plugin/contact-form-by-supsystic/vulnerability/wordpress-contact-form-by-supsystic-plugin-1-7-36-unauthenticated-server-side-template-injection-via-prefill-functionality-vulnerability","date":"2026-10-13"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Apr 8, 2026","url":"https://otx.alienvault.com/pulse/69d51903148f2b12ebc62d05","created":"2026-04-07"},{"name":"Known_Cve | Apr 7, 2026","url":"https://otx.alienvault.com/pulse/69d3c8b63434db28e734c77d","created":"2026-04-06"},{"name":"Known_Cve | Apr 6, 2026","url":"https://otx.alienvault.com/pulse/69d274d73531da3a781cc03e","created":"2026-04-05"},{"name":"Known_Cve | Apr 5, 2026","url":"https://otx.alienvault.com/pulse/69d1156f88bf34624d555f2e","created":"2026-04-04"},{"name":"Known_Cve | Apr 4, 2026","url":"https://otx.alienvault.com/pulse/69cfc425ede6bc250a5bb109","created":"2026-04-03"},{"name":"Known_Cve | Apr 3, 2026","url":"https://otx.alienvault.com/pulse/69ce732a62381215379e95bc","created":"2026-04-02"},{"name":"Known_Cve | Apr 2, 2026","url":"https://otx.alienvault.com/pulse/69cd218119ae861872e4c8be","created":"2026-04-01"},{"name":"Known_Cve | Apr 1, 2026","url":"https://otx.alienvault.com/pulse/69cbd0525d7d354a36262e7c","created":"2026-03-31"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/415c9658-bfb2-453b-a697-c63c08b0ca61?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/contact-form-by-supsystic/tags/1.7.36/modules/forms/views/forms.php#L323","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3491826/contact-form-by-supsystic","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-17239","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-17239","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":52564,"url":"https://www.exploit-db.com/exploits/52564","title":"WordPress Plugin Supsystic Contact Form 1.7.36 - Server-Side Template Injection (SSTI)","type":"webapps","platform":"multiple","date":"2026-05-14","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-05-14"},"pocGithub":{"count":2,"skipped":1,"earliest":"2026-05-11","earliestUrl":"https://github.com/shootcannon/CVE-2026-4257","repos":[{"name":"dann3xplo1t/CVE-2026-4257","url":"https://github.com/dann3xplo1t/CVE-2026-4257","stars":1,"created":"2026-07-09"},{"name":"shootcannon/CVE-2026-4257","url":"https://github.com/shootcannon/CVE-2026-4257","stars":0,"created":"2026-05-11"}]},"metasploit":[{"name":"Supsystic Contact Form Wordpress Plugin SSTI RCE","module":"exploit/multi/http/wp_plugin_supsystic_contact_form_rce","type":"exploit","disclosureDate":"2026-03-30","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_supsystic_contact_form_rce.rb"}],"nuclei":[{"id":"CVE-2026-4257","name":"WordPress Contact Form by Supsystic - Server-Side Template Injection","severity":"critical","path":"http/cves/2026/CVE-2026-4257.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4257.yaml"}],"first":{"date":"2026-03-30","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_supsystic_contact_form_rce.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-03-30","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-4257","provenance":"source"},{"date":"2026-03-30","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2026-05-11, Exploit-DB 2026-05-14","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_supsystic_contact_form_rce.rb","provenance":"source"},{"date":"2026-10-13","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://patchstack.com/database/wordpress/plugin/contact-form-by-supsystic/vulnerability/wordpress-contact-form-by-supsystic-plugin-1-7-36-unauthenticated-server-side-template-injection-via-prefill-functionality-vulnerability","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":78.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 41 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.75,"detail":"percentile 0.9873"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}