Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level account
-
DeliveryInsert [gravity-simple-turnstile] shortcode with crafted id
-
ExploitPayload bypasses esc_js in JS expression context
-
ExecutionAdmin or visitor opens injected page
-
ImpactScript runs in site origin as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires: (1) the Simple CAPTCHA with Cloudflare Turnstile plugin installed at version ≤ 1.44.3 with the Gravity Forms integration path active, (2) an authenticated attacker with contributor-level capabilities or higher (PR:L) able to author content and embed the [gravity-simple-turnstile] shortcode, and (3) the attacker-supplied 'id' attribute reaching the cfturnstile_gravity_shortcode() output, where it is emitted via esc_js() in a raw JavaScript expression context outside any string literal - esc_js only escapes quotes, backslashes and newlines, so parentheses/dots pass through. Limiting factors: exploitation is gated by the contributor+ authentication requirement (not exploitable by anonymous visitors), and the stored payload only fires when a user actually loads the injected page; sites that do not grant untrusted users content-authoring roles face substantially reduced real-world risk. |
| Impact | This is a mid-severity (CVSS 6.4) authenticated stored XSS, and the signals are internally consistent rather than conflicting. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N indicates a network-reachable, low-complexity issue requiring privileges (PR:L), which matches the description's requirement for contributor-level access and above - so this is NOT a remote-unauthenticated flaw despite AV:N. The scope change (S:C) and C:L/I:L reflect that injected script executes in the browser of any user who views the page, under the site's origin, enabling session/credential theft or admin-targeted actions within the victim's privilege. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with a privilege-gated XSS rather than a wormable pre-auth bug. No CISA KEV listing, no EPSS score, and no PoC are present in the input - only vendor (Wordfence) and source-code/changeset references - so there is no evidence of active exploitation; the trigger mechanism, by contrast, is unusually well documented (the id attribute reaches a raw JavaScript expression context outside any string literal, where esc_js() does not neutralize the payload). Bottom line: a real but conditional priority - patch on a normal remediation cycle, prioritized where untrusted users hold contributor accounts; it is not a drop-everything emergency. |
| Exploit ScenarioDerived | An attacker holding a contributor-level (or higher) WordPress account on a site running this plugin creates or edits a post containing the [gravity-simple-turnstile] shortcode with a malicious payload in its 'id' attribute. Because the value is only passed through esc_html()/sanitize_text_field() and then emitted via esc_js() in a raw JavaScript expression context (outside any string literal), the crafted characters break out and the script executes in the browser of every visitor - including administrators - who opens the page. No public exploit is identified in the provided data, though the vulnerable code paths are referenced on the WordPress plugin trac. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Stored cross-site scripting in the Simple CAPTCHA with Cloudflare Turnstile WordPress plugin affects all versions up to and including 1.44.3, and lets users holding contributor-level access or higher plant executable script in the 'id' attribute of the [gravity-simple-turnstile] shortcode, which then runs for anyone who loads the injected page. The flaw (CVSS 6.4, CWE-79) is an output-encoding failure rather than a missing filter: the value passes through sanitize_text_field() and esc_html() before being written into a raw JavaScript expression context via esc_js(), which does not neutralize parentheses or dots. Exploitation is gated by authentication - anonymous visitors cannot trigger it - and there is no public exploit identified at time of analysis and no CISA KEV listing; real-world risk concentrates on sites that hand content-authoring roles to untrusted or low-trust users.
RemediationAI
No tagged patched release version is stated in the available data; the only fix indication is Trac changeset 3776057 touching trunk/inc/integrations/forms/gravity-forms.php (https://plugins.trac.wordpress.org/changeset/3776057/simple-cloudflare-turnstile/trunk/inc/integrations/forms/gravity-forms.php), so treat this as an upstream fix available as a commit/changeset rather than a confirmed release - verify the plugin version currently published before relying on it, and track the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/056a6984-4753-4f52-87b0-1a3cc2f5bde2?source=cve) for the patched version number. Until a fixed build is confirmed installed, the exposure is defined by the contributor+ prerequisite: remove or tightly restrict content-authoring roles for untrusted users on sites running this plugin, since an account that cannot create or edit posts containing the [gravity-simple-turnstile] shortcode cannot stage the payload, and audit existing posts for shortcode instances with unexpected characters in the 'id' attribute. Deactivating the plugin is the complete removal of the vulnerable render path but also disables Turnstile protection on Gravity Forms and any other integrated forms, so weigh that loss of CAPTCHA coverage against the contributor-role exposure.
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
The plugin (CPE cpe:2.3:a:elliotvs:simple_captcha_with_cloudflare_turnstile) integrates Cloudflare Turnstile with Gravity Forms through inc/integrations/forms/gravity-forms.php, where the cfturnstile_gravity_shortcode() callback renders the [gravity-simple-turnstile] shortcode. The root cause class is CWE-79 (improper neutralization of input during web page generation), but the specifics matter: the 'id' attribute is treated with sanitize_text_field() and esc_html(), neither of which strips parentheses or dots, and it is then emitted with esc_js() outside any JavaScript string literal. esc_js() only escapes quotes, backslashes and newlines, so it is safe inside a quoted string but not in a bare expression position - attacker-controlled punctuation can therefore alter the JavaScript expression itself rather than stay inert text. Because the payload is persisted in post content authored through the shortcode and re-rendered on every page view, the result is stored XSS in the site's own origin, which is why the assessed vector carries S:C (scope change) alongside PR:L, AC:L and UI:N. The trigger path requires the Gravity Forms integration file to be the one rendering the shortcode; sources do not describe how the flaw behaves for other integrations or for shortcode usage outside that path.
Know when Simple Captcha With Cloudflare Turnstile 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:L/UI:N/S:C/C:L/I:L/A:N
Network-reachable shortcode, low complexity; contributor-level authoring is required so PR:L; stored payload executes in other users' browsers across a security boundary giving S:C with C:L/I:L and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Simple CAPTCHA with Cloudflare Turnstile plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' attribute of the [gravity-simple-turnstile] shortcode in versions up to, and including, 1.44.3 This is due to insufficient input sanitization and output escaping on the shortcode attribute in the cfturnstile_gravity_shortcode() function: the value is filtered only by esc_html() and sanitize_text_field() (neither of which touches parentheses or dots) and then emitted via esc_js() in a raw JavaScript expression context outside any string literal (esc_js only escapes quotes, backslashes, and newlines). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-116805
GHSA-2vrq-rcwg-5982
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB