CVE-2026-4257: Contact Form by Supsystic - Remote Code Execution
- Cve: CVE-2026-4257
- Name: Contact Form by Supsystic - Remote Code Execution
- 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.
- Impact: Unauthenticated attackers can execute arbitrary PHP functions and OS commands remotely, leading to full server compromise.
- Remediation: Update to the latest version beyond 1.7.36.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.42181
- Epss percentile: 0.98728
- Assignee: [email protected]
- Published at: 2026-03-30T22:16:20Z
- Age in days: 239
- Modified at: 2026-06-17T10:56:19Z
- Public exploits total: 7
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4257
- Nvd status: deferred
- Checked, none or zero: patch available, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|
| CWE-94 | Improper Control of Generation of Code |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|
| vulncheck | 2026-10-13 | — | no |
Nuclei templates
Public exploits
References
Text cells longer than 200 characters are cut (…); version ranges never are. The same query as JSON has every cell whole (the path without .md; MCP format: json).
Products
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-10-13
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 7
- Public exploit first date: 2026-03-30
- Remote: yes
- Exposed hosts: 1277140
- Checked, none or zero: known exploited, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports
Nuclei template