CVE-2026-4257

Contact Form by Supsystic <= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality

Published Mar 30, 2026 CVSS 3.1 · 9.8 Critical EPSS 41.5% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Contact Form by Supsystic plugin for WordPress contains a Server‑Side Template Injection flaw that permits an unauthenticated attacker to inject and execute arbitrary Twig expressions. This vulnerability exposes the server to remote code execution, allowing execution of PHP functions and operating‑system commands. The weakness reflects code injection (CWE‑94).

Affected Systems

All WordPress installations using the Contact Form by Supsystic plugin version 1.7.36 or earlier are affected; the plugin is distributed by supsystic.com and is commonly embedded via their WordPress plugin.

Risk and Exploitability

The CVSS base score is 9.8, indicating critical severity. The EPSS score of 41% suggests a moderate likelihood of exploitation, and the vulnerability is not listed in the CISA KEV it over any public site without authentication by supplying crafted GET parameters to the prefill endpoint, triggering the Twig engine to process the injected template and run code. The exploitability is high and exhibits immediate remote code execution potential.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Contact Form by Supsystic to the latest release (1.7.37 or later) where the SSTI flaw has been fixed.
  • If an upgrade cannot be performed immediately, disable or delete the plugin from the WordPress site to remove the vulnerability.
  • Implement a web application firewall rule that blocks or sanitises GET parameters containing Twig delimiters ({{ or }}) to prevent script injection until the plugin can be updated.

Generated by OpenCVE AI on October 25, 2026 at 21:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Supsysticcom
Supsysticcom contact Form By Supsystic
Wordpress
Wordpress wordpress
Vendors & Products Supsysticcom
Supsysticcom contact Form By Supsystic
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Contact Form by Supsystic <= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:48 PM
Reserved
Mar 16, 2026, 8:09 AM
Status
Deferred
Published
Mar 30, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:56 AM