Description
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.
Published: 2026-11-04
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch Plugin
AI Analysis

Impact

The vulnerability allows an authenticated user with contributor level or higher to inject arbitrary JavaScript into the site by supplying a malicious value for the 'id' attribute of the [gravity-simple-turnstile] shortcode. The input is only passed through esc_html() and sanitize_text_field(), neither of which removes parentheses or dots, and then output with esc_js() in a raw JavaScript expression context where only quotes, backslashes and newlines are escaped. This flaw enables the attacker to persistently store malicious scripts that will execute in any browser that loads a page containing the shortcode, allowing client‑side code execution and potential theft of session cookies, defacement, or further attacks in the victim’s context.

Affected Systems

WordPress sites that use the Simple CAPTCHA with Cloudflare Turnstile plugin, versions up to and including 1.44.3. Any user with contributor‑level or higher privileges can exploit the flaw by adding or editing content that includes the shortcode.

Risk and Exploitability

The flaw carries a CVSS score of 6.4, indicating a moderate risk. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires authenticated access with contributor or higher permissions; once a malicious payload is stored, it will run whenever a visitor loads the affected page, exposing the site to persistent client‑side attacks.

Generated by OpenCVE AI on November 4, 2026 at 10:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Simple CAPTCHA with Cloudflare Turnstile to version 1.44.4 or later.
  • If an upgrade is not possible immediately, remove or comment out the [gravity-simple-turnstile] shortcode from all content that may contain the malicious attribute to eliminate the stored payload.
  • Review and sanitize any custom attributes passed to the shortcode, ensuring they are properly escaped before output, or revert to using the default shortcode without custom attributes until a patch is applied.

Generated by OpenCVE AI on November 4, 2026 at 10:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 09:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Simple CAPTCHA with Cloudflare Turnstile <= 1.44.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-04T09:26:06.627Z

Reserved: 2026-09-18T20:37:43.437Z

Link: CVE-2026-93900

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-04T10:17:26.657

Modified: 2026-11-04T10:17:26.793

Link: CVE-2026-93900

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T10:30:10Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')