CVE-2026-4257
criticalpriority · track · 25EPSS 0.415 · 99 %ileexploit · weaponizedEUEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (5)
Public proof-of-concept and weaponised exploit code.
- EDB-52564WordPress Plugin Supsystic Contact Form 1.7.36 - SSTIPoC · exploit_db
- bootstrapbool/cve-2026-4257bootstrapbool/cve-2026-4257PoC · poc_in_github
- shootcannon/CVE-2026-4257SSTI contact form to rcePoC · poc_in_github
affected products (1)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-4257cnnvd
- https://plugins.trac.wordpress.org/browser/contact-form-by-supsystic/tags/1.7.36/modules/forms/views/forms.php#L323cnnvd
- https://plugins.trac.wordpress.org/changeset/3491826/contact-form-by-supsysticcnnvd
- https://wordpress.org/plugins/contact-form-by-supsysticPatchcnnvd
- https://www.exploit-db.com/exploits/52564cnnvd
- https://www.wordfence.com/threat-intel/vulnerabilities/id/415c9658-bfb2-453b-a697-c63c08b0ca61?source=cvecnnvd
- https://plugins.trac.wordpress.org/browser/contact-form-by-supsystic/tags/1.7.36/modules/forms/views/forms.php#L323enisa_euvd
- https://plugins.trac.wordpress.org/changeset/3491826/contact-form-by-supsysticenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan