Skip to main content
Vulnerability Database/CVE-2026-93880

CVE-2026-93880: Greenshift WordPress Plugin XSS Vulnerability

CVE-2026-93880 is a reflected cross-site scripting flaw in Greenshift WordPress plugin that allows attackers to inject malicious scripts. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93880 Overview

CVE-2026-93880 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Greenshift – animation and page builder blocks plugin for WordPress. The flaw affects all plugin versions up to and including 13.2.0. It stems from insufficient input sanitization and output escaping when processing the {{GET:}} dynamic placeholder within an element block's Custom JS field. Unauthenticated attackers can inject arbitrary JavaScript that executes in a victim's browser when the victim clicks a crafted link. Exploitation is conditional on a site administrator having configured a Custom JS field containing a {{GET:...}} placeholder along with the token import, which routes substituted content into an unescaped raw echo inside a <script type="module"> tag.

Critical Impact

Unauthenticated attackers can execute arbitrary JavaScript in a victim's browser session, enabling session hijacking, credential theft, or forced redirects on affected WordPress sites.

Affected Products

  • Greenshift – animation and page builder blocks plugin for WordPress
  • All versions through and including 13.2.0
  • WordPress sites with Custom JS blocks using {{GET:...}} placeholders containing the import token

Discovery Timeline

  • 2026-10-02 - CVE-2026-93880 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-93880

Vulnerability Analysis

The vulnerability is a Reflected Cross-Site Scripting flaw [CWE-79] in the Greenshift plugin's dynamic placeholder processing. The plugin supports a {{GET:parameter}} templating syntax that substitutes HTTP GET query parameter values into rendered output. When a site administrator places such a placeholder inside an element block's Custom JS field, the plugin processes the value during page rendering.

The helper function that performs the substitution contains two output branches. One branch applies escaping suitable for standard inline script contexts. The second branch performs a raw, unescaped echo when the surrounding Custom JS contains the string import, because the plugin wraps that output in a <script type="module"> tag. Attacker-controlled GET parameter data reaches this raw echo branch without sanitization, allowing arbitrary script content to be injected directly into the module script block.

Root Cause

The root cause is a missing output encoding step in the conditional branch that handles module scripts. The code at the helper function (see WordPress Plugin Helper Function Code) distinguishes between standard and module script contexts but fails to escape user-controlled input in the latter path. The block rendering logic in block.php then emits the substituted value verbatim inside the <script type="module"> wrapper.

Attack Vector

Exploitation requires an unauthenticated attacker to craft a URL targeting a vulnerable page. The URL includes a malicious GET parameter whose name matches the {{GET:name}} placeholder configured by the administrator. When a victim clicks the link, the server-side template substitution injects the attacker's payload into the module script tag. The browser then executes the injected JavaScript under the site's origin. The attack is reflected and user-interaction dependent, but requires no authentication and no CSRF token.

See the Wordfence Vulnerability Report for additional context on the substitution flow.

Detection Methods for CVE-2026-93880

Indicators of Compromise

  • HTTP GET requests to WordPress pages containing suspicious query parameters with <script>, javascript:, or encoded script payloads
  • Access log entries showing unusual query strings targeting pages rendered by Greenshift element blocks
  • Referrer headers pointing to attacker-controlled domains or URL shorteners paired with unusual GET parameters
  • Browser console errors or unexpected network requests to external domains originating from pages built with Greenshift blocks

Detection Strategies

  • Inspect WordPress block configurations for Custom JS fields containing both {{GET: placeholders and the import token
  • Audit web server access logs for GET parameters containing HTML tags, event handlers, or URL-encoded script fragments
  • Deploy a Web Application Firewall (WAF) rule to flag query strings containing <script, onerror=, or javascript: targeting Greenshift-powered pages
  • Monitor outbound requests from end-user browsers to unexpected hosts after visiting affected pages

Monitoring Recommendations

  • Enable detailed HTTP request logging on the WordPress host and ship logs to a centralized analytics platform
  • Correlate suspicious URL patterns with user-agent and geolocation data to identify targeted phishing campaigns
  • Alert on administrator sessions originating from referrers that contain reflected XSS payload signatures
  • Track plugin version inventory across WordPress deployments to confirm Greenshift upgrades are applied

How to Mitigate CVE-2026-93880

Immediate Actions Required

  • Update the Greenshift plugin to a version later than 13.2.0 that contains the fix referenced in the plugin changeset
  • Audit all element blocks for Custom JS fields that use {{GET:}} placeholders and remove or sanitize them until patching is complete
  • Deploy a WAF rule to block requests containing script injection patterns in query parameters
  • Notify administrators to avoid clicking untrusted links to the WordPress site during the remediation window

Patch Information

The vendor addressed the issue in the Greenshift plugin changeset tracked at plugins.trac.wordpress.org. Site operators should upgrade to the latest release available through the WordPress plugin repository. Verify the installed version in the WordPress admin console under Plugins after upgrading.

Workarounds

  • Remove any {{GET:...}} dynamic placeholder from Custom JS fields in Greenshift element blocks
  • Rewrite affected Custom JS to avoid including the import token when GET-derived data is required
  • Restrict administrator access to block configuration pages pending the upgrade
  • Enable a Content Security Policy (CSP) that prohibits inline module scripts to blunt reflected script execution
bash
# Example CSP header to mitigate inline module script execution
Content-Security-Policy: default-src 'self'; script-src 'self'; script-src-elem 'self'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.