SecurityContext

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

IdName
CWE-94Improper Control of Generation of Code

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-10-13—no

Nuclei templates

IdUrl
CVE-2026-4257https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4257.yaml

Public exploits

UrlSourceAdded date
https://github.com/dann3xplo1t/CVE-2026-4257poc-in-github2026-07-09
https://github.com/dann3xplo1t/CVE-2026-4257.gitvulncheck-xdb2026-07-09
https://github.com/shootcannon/CVE-2026-4257poc-in-github2026-05-11
https://github.com/shootcannon/CVE-2026-4257.gitvulncheck-xdb2026-05-11
https://github.com/bootstrapbool/cve-2026-4257poc-in-github2026-04-05

References

UrlSourceTags
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-4257.yamlnuclei_templateNuclei Template
https://patchstack.com/database/wordpress/plugin/contact-form-by-supsystic/vulnerability/wordpress-contact-form-by-supsystic-plugin-1-7-36-unauthenticated-server-side-template-injection-via-prefill-fu…vulncheckVulncheck Reported Exploitation
https://plugins.trac.wordpress.org/browser/contact-form-by-supsystic/tags/1.7.36/modules/forms/views/forms.php#L323nvd
https://plugins.trac.wordpress.org/changeset/3491826/contact-form-by-supsysticnvd
https://www.wordfence.com/threat-intel/vulnerabilities/id/415c9658-bfb2-453b-a697-c63c08b0ca61?source=cvenvd

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

ProductAffectedPlatform boundSourcesUrl
supsystic:contact_form<= 1.7.36nocna_alias/v1/products/supsystic/contact_form

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