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.
Severity (CVSS)
| Base score | 6.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| elliotvs | Simple CAPTCHA with Cloudflare Turnstile | 0 to <=1.44.3 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/056a6984-4753-4f52-87b0-1a3cc2f5bde2?source=cve
- https://plugins.trac.wordpress.org/browser/simple-cloudflare-turnstile/tags/1.43.1/inc/integrations/forms/gravity-forms.php#L22
- https://plugins.trac.wordpress.org/browser/simple-cloudflare-turnstile/tags/1.43.1/inc/integrations/forms/gravity-forms.php#L13
- https://plugins.trac.wordpress.org/browser/simple-cloudflare-turnstile/tags/1.41.0/inc/integrations/forms/gravity-forms.php#L22
- https://plugins.trac.wordpress.org/browser/simple-cloudflare-turnstile/tags/1.41.0/inc/integrations/forms/gravity-forms.php#L13
- https://plugins.trac.wordpress.org/browser/simple-cloudflare-turnstile/
- https://plugins.trac.wordpress.org/changeset/3776057/simple-cloudflare-turnstile/trunk/inc/integrations/forms/gravity-forms.php
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 05 Nov 2026 08:03 UTC.