CVE-2026-4257
CRITICAL NUCLEIContact Form by Supsystic <= 1.7.36 - Unauthenticated Server-Side Template Injection via Prefill Functionality
Title source: cnaExploitation Summary
EIP tracks 5 public exploits for CVE-2026-4257.
PoCs published by bootstrapbool, shootcannon, 0xgh057r3c0n, including Metasploit module exploits/multi/http/wp_plugin_supsystic_contact_form_rce.
A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit demonstrates a Server-Side Template Injection (SSTI) vulnerability in WordPress Plugin Supsystic Contact Form <= 1.7.36. It crafts a Twig template payload to execute arbitrary commands via a vulnerable contact form field.
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.
Exploits (5)
This exploit demonstrates a Server-Side Template Injection (SSTI) vulnerability in WordPress Plugin Supsystic Contact Form <= 1.7.36. It crafts a Twig template payload to execute arbitrary commands via a vulnerable contact form field.
This repository contains a functional exploit for CVE-2026-4257, demonstrating unauthenticated Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in Contact Form by Supsystic versions <= 1.7.36. The exploit leverages the prefill functionality to inject malicious templates and execute arbitrary commands.
This repository contains a functional exploit for CVE-2026-4257, targeting a Server-Side Template Injection (SSTI) vulnerability in WordPress Contact Form 7. The exploit automates version detection, field identification, and payload delivery to achieve remote command execution.
This repository contains a functional Python exploit for CVE-2026-4257, a Server-Side Template Injection (SSTI) vulnerability in the 'Contact Form' WordPress plugin by Supsystic. The exploit leverages the `generateHtml()` function in the `formsViewCfs` class to achieve Remote Code Execution (RCE) via crafted Twig template payloads.
This Metasploit module exploits a Server-Side Template Injection (SSTI) vulnerability in the Supsystic Contact Form WordPress plugin (versions 1.7.36 and earlier) to achieve Remote Code Execution (RCE). It automates the detection of vulnerable fields and delivers a crafted payload via the 'cfsPreFill' parameter.
Nuclei Templates (1)
http.component:"WordPress"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H