Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify public CF7 form on target site
-
DeliveryCraft form value containing arbitrary WordPress shortcode
-
ExploitSubmit form as unauthenticated visitor
-
ExecutionPlugin passes submitted value through shortcode parser
-
PersistShortcode executes server-side
-
ImpactAchieve code execution or data exfiltration depending on registered shortcodes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | No authentication is required - exploitation is possible by any anonymous site visitor who can submit the Contact Form 7 form. The form must be publicly accessible (not restricted by authentication gates). The critical limiting condition is that impact severity depends entirely on which WordPress shortcodes are registered on the target site: on a minimal site with no dangerous shortcodes, only C:L/I:L outcomes are achievable; on sites with shortcodes supporting PHP evaluation, file inclusion, or plugin API calls, full RCE is possible. No non-default configuration is required to reach the vulnerable code path - any installation of Contact Form 7 Captcha prior to 0.1.9 with a publicly accessible CF7 form is exploitable. |
| Impact | The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) captures the unauthenticated, network-accessible exploitation path accurately, but significantly understates real-world impact in many WordPress deployments. The 'RCE' tag in the input metadata and the publicly available proof-of-concept from WPScan both indicate that impact is context-dependent and can exceed the base C:L/I:L rating where powerful shortcodes are registered. Sites using shortcodes capable of evaluating PHP (e.g., those provided by certain page builders or code execution plugins) face full RCE conditions from this otherwise moderate-scored flaw. EPSS data is not present in the input; however, the combination of unauthenticated access, no special conditions, public exploit code, and a widespread plugin ecosystem elevates practical priority above the 6.5 score alone. No CISA KEV listing is indicated in the input data. The primary limiting factor is shortcode dependency: on a minimal WordPress install with no dangerous shortcodes, impact is genuinely limited to C:L/I:L. |
| Exploit ScenarioDerived | An unauthenticated attacker visits any page hosting a Contact Form 7 form protected by the vulnerable CAPTCHA plugin and submits a crafted form value containing a WordPress shortcode tag, such as one provided by a code execution or file-inclusion plugin installed on the target site. The plugin passes the submitted value through the shortcode parser, executing the embedded shortcode in the context of the web server. With a public proof-of-concept available from WPScan, this attack is trivially repeatable and requires no site credentials or prior knowledge beyond identifying the form endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Unauthenticated shortcode injection in the Contact Form 7 Captcha WordPress plugin before 0.1.9 allows any site visitor to execute arbitrary WordPress shortcodes registered on the target site. The plugin incorrectly passes visitor-submitted form field values through the WordPress shortcode parser without sanitization, meaning an attacker submitting a shortcode tag as a form value triggers its execution in the rendered response. With a publicly available proof-of-concept and the breadth of shortcodes available across typical WordPress installations - some of which can include files, run PHP, or interact with other plugins - the practical impact can escalate beyond the conservative C:L/I:L baseline to full remote code execution, depending on the shortcodes registered on the site.
RemediationAI
Update the Contact Form 7 Captcha plugin to version 0.1.9 or later, which is the vendor-released patch per the WPScan advisory at https://wpscan.com/vulnerability/e791e4a6-5ec1-49c7-9448-1d83ec4f4905/. If immediate patching is not feasible, a compensating control is to temporarily disable the Contact Form 7 Captcha plugin, which removes the vulnerable shortcode parsing path. An additional defensive measure is to audit which shortcodes are registered site-wide and deactivate any that permit file inclusion or code execution; this limits the blast radius of exploitation even before patching. Restricting direct access to Contact Form 7-powered pages at the WAF or reverse-proxy level to known-good user agents is a weaker and operationally disruptive workaround and should be considered a last resort. No trade-off concerns exist for the primary fix - upgrading to 0.1.9 is the correct and complete remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Contact Form 7 Captcha is a companion WordPress plugin (versions before 0.1.9) that adds CAPTCHA support to Contact Form 7 forms. The vulnerability stems from the plugin invoking the WordPress do_shortcode() function (or equivalent shortcode parsing) over the entire rendered form output, which includes unsanitized visitor-submitted field values. WordPress shortcodes are bracket-delimited macros registered by themes and plugins; any shortcode registered site-wide becomes executable. The root cause class is closest to CWE-94 (Improper Control of Generation of Code / Injection) or CWE-74 (Improper Neutralization of Special Elements), though the CWE field in the input is listed as N/A. The affected CPE is cpe:2.3:a:unknown:contact_form_7_captcha:*:*:*:*:*:*:*:*, with the affected version range being Contact Form 7 Captcha 0.1.7 through versions prior to 0.1.9.
Know when Contact Form 7 Captcha gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Unauthenticated network exploitation via public web form; impact bounded by registered shortcodes, conservatively C:L/I:L absent confirmation of code-execution shortcodes.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
2DescriptionCVE.org
The Contact Form 7 Captcha WordPress plugin before 0.1.9 runs the shortcode parser over the whole rendered Contact Form 7 form, including the values a visitor submitted, allowing unauthenticated users to execute arbitrary shortcodes registered on the site.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Contact Form 7 Captcha
View allThe Contact Form 7 Captcha WordPress plugin before 0.0.9 does not have any CSRF check in place when saving its settings,
The Contact Form 7 Captcha WordPress plugin before 0.1.2 does not escape the $_SERVER['REQUEST_URI'] parameter before ou
EUVD-2026-74724
GHSA-f9wj-4mrj-xggq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB