CVE-2026-4257
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Contact Form by Supsystic WordPress plugin (versions up to 1.7.36) is vulnerable to unauthenticated Server-Side Template Injection (SSTI) leading to Remote Code Execution. The plugin uses the Twig `Twig_Loader_String` template engine without sandboxing, and the `cfsPreFill` prefill functionality allows attackers to inject arbitrary Twig expressions via GET parameters. Attackers can execute arbitrary PHP functions and OS commands by leveraging Twig's `registerUndefinedFilterCallback()` method.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify plugin is installedCheck the WordPress plugin directory for the Contact Form by Supsystic plugin. In WordPress admin, go to Plugins > Installed Plugins and look for 'Contact Form by Supsystic' or check the file system at wp-content/plugins/contact-form-by-supsystic/Affected if The plugin is present on the WordPress installation
-
Check installed plugin versionIn WordPress admin, go to Plugins > Installed Plugins and find the version number listed for Contact Form by Supsystic. Alternatively, check the main plugin file header in wp-content/plugins/contact-form-by-supsystic/contact-form-by-supsystic.php for the 'Version' tagAffected if The installed version is 1.7.36 or lower (any version up to and including 1.7.36)
-
Confirm cfsPreFill functionality is activeReview the plugin settings or configuration to determine if the prefill functionality is enabled. Check plugin admin pages for any settings related to 'prefill' or 'cfsPreFill'. Inspect plugin source code for references to 'cfsPreFill' or 'prefill' to verify the feature exists in the installed versionAffected if The cfsPreFill feature is present and accessible in the installed version
-
Inspect HTTP logs for injection attemptsReview web server access logs and WordPress debug logs for suspicious GET requests containing Twig-like patterns such as '{{', '|', 'registerUndefinedFilterCallback', or shell execution functions. Search for requests to paths like /?cfsPreFill= or similar parameter patternsAffected if Logs contain requests with Twig template syntax or attempts to leverage registerUndefinedFilterCallback in cfsPreFill parameters
A WordPress site is affected if it has the Contact Form by Supsystic plugin installed with version 1.7.36 or lower and the cfsPreFill prefill functionality is accessible, allowing unauthenticated attackers to inject malicious Twig expressions via GET parameters.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImmediately update the plugin to a version beyond 1.7.36 if available, or disable/delete the plugin until a patch is released. Investigate server logs for indicators of compromise given the RCE capability.
Contact Form by Supsystic version 1.7.37 or latest available version (version after 1.7.36)
- 1. Check the current version of the Contact Form by Supsystic plugin installed on your WordPress site
- 2. Navigate to Plugins > Installed Plugins in the WordPress admin dashboard
- 3. Locate the Contact Form by Supsystic plugin
- 4. If the installed version is 1.7.36 or earlier, update the plugin to the latest available version
- 5. Verify the update was successful by confirming the new version number after updating
- 6. Test form functionality to ensure the update did not break existing forms
- 7. Consider reviewing the plugin's changelog to confirm the security fix is included in the new version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,832.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-4257 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-4257 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data