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

CVE-2026-111726: Themify Builder WordPress XSS Vulnerability

CVE-2026-111726 is a stored XSS vulnerability in Themify Builder plugin for WordPress that allows authenticated attackers to inject malicious scripts. This article covers technical details, 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-111726 Overview

CVE-2026-111726 is a Stored Cross-Site Scripting (XSS) vulnerability in the Themify Builder plugin for WordPress, affecting all versions up to and including 7.8.2. The flaw resides in the visible shortcode attribute of the slider module, where insufficient input sanitization and output escaping allow authenticated users with contributor-level access or higher to inject arbitrary JavaScript. The injected payload executes in the browser of any user who visits an affected page. Exploitation requires the slider custom post type to be registered, which occurs automatically when the plugin is used alongside a Themify theme or any plugin that registers the slider CPT.

Critical Impact

Authenticated contributors can persist JavaScript in rendered pages, enabling session theft, redirection, and administrative action hijacking against higher-privileged users.

Affected Products

  • Themify Builder plugin for WordPress — all versions through 7.8.2
  • WordPress sites paired with any Themify theme that registers the slider custom post type
  • WordPress sites using any third-party plugin that registers the slider CPT

Discovery Timeline

  • 2026-10-17 - CVE-2026-111726 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-111726

Vulnerability Analysis

The vulnerability is a stored Cross-Site Scripting flaw categorized under [CWE-79]. The Themify Builder plugin exposes a slider shortcode that accepts a visible attribute. The plugin processes this attribute in modules/module-slider.php and renders it through templates/template-slider.php without applying adequate sanitization or output escaping.

An authenticated contributor can inject a shortcode payload containing JavaScript into a draft or page. When the content is later rendered, the browser interprets the injected markup as executable script. Because the payload persists in the database, every visitor to the affected page triggers execution, including administrators. The attacker can hijack sessions, exfiltrate cookies, perform forced administrative actions, or redirect users to attacker-controlled infrastructure.

Root Cause

The plugin fails to sanitize the visible shortcode attribute on input and does not escape it on output. The slider module passes the attribute value directly into HTML attributes rendered by the template, breaking the boundary between data and markup. Standard WordPress escaping functions such as esc_attr() are not applied before the value reaches the DOM.

Attack Vector

Exploitation requires authenticated access with contributor-level privileges or higher. The attacker constructs a slider shortcode with a crafted visible attribute containing JavaScript, then saves it in post or page content. The payload executes when any user, including administrators, visits the rendered page. The scope is changed because the injected script runs in the context of the WordPress site, allowing privilege-crossing actions. See the Themify Builder Slider Module Code and the Themify Builder Slider Template Code for the affected code paths.

Detection Methods for CVE-2026-111726

Indicators of Compromise

  • Slider shortcodes stored in wp_posts containing visible attribute values with <script>, onerror, onload, or javascript: tokens
  • Unexpected outbound requests from visitor browsers to attacker-controlled domains after loading pages containing slider content
  • New or modified administrator accounts created shortly after a contributor edits content with slider shortcodes

Detection Strategies

  • Query the WordPress database for slider shortcodes containing suspicious characters in attributes: SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%[themify_slider%visible=%<%'
  • Review contributor and author activity logs for unusual edits to pages or posts that embed slider shortcodes
  • Deploy Content Security Policy (CSP) reporting to surface inline script executions that violate expected policy

Monitoring Recommendations

  • Monitor WordPress audit logs for shortcode insertion events by low-privileged accounts
  • Alert on administrator session anomalies, including concurrent sessions from new geographies or IP ranges
  • Track plugin version drift across managed WordPress sites to confirm patch coverage

How to Mitigate CVE-2026-111726

Immediate Actions Required

  • Update Themify Builder to the version released after 7.8.2 referenced in the Themify Builder Changeset Update
  • Audit all existing posts and pages for slider shortcodes with suspicious visible attribute values and remove any injected payloads
  • Review contributor-level and author-level accounts, revoking access for untrusted users

Patch Information

The Themify Builder development team released a fix tracked in changeset 3749606. Site operators should upgrade to the patched release that supersedes 7.8.2. Confirm the installed version via the WordPress plugin administration page or by inspecting wp-content/plugins/themify-builder/readme.txt. See the Wordfence Vulnerability Report for additional advisory context.

Workarounds

  • Restrict contributor and author roles until the plugin is patched, limiting who can insert shortcodes
  • Disable the Themify Builder plugin on affected sites until the fixed version is deployed
  • Deploy a Web Application Firewall (WAF) rule to block requests containing script tags inside themify_slider shortcode attributes
  • Enforce a strict Content Security Policy that disallows inline scripts to reduce exploitability of stored XSS
bash
# Verify installed Themify Builder version via WP-CLI
wp plugin get themify-builder --field=version

# Update to the latest patched release
wp plugin update themify-builder

# Audit stored content for suspicious slider shortcode attributes
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_status='publish' AND post_content LIKE '%themify_slider%visible=%<%';"

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.