CVE-2026-4257 Contact Form by Supsystic <= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- PHPWordPress
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| supsysticcom Contact Form by Supsystic | <= 1.7.36 | after 1.7.36 | Fixed |
| wordpress contact-form-by-supsystic(WordPress) | < 1.8.0 | 1.8.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| supsysticcom Contact Form by Supsystic | <= 1.7.36 | No fix listed |
| wordpress contact-form-by-supsystic(WordPress) | < 1.8.0 | 1.8.0 |