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-109989 Overview
CVE-2026-109989 is a Stored Cross-Site Scripting (XSS) vulnerability in the Themify Popup plugin for WordPress [CWE-79]. The flaw affects all versions up to and including 1.4.7. It stems from insufficient input sanitization and output escaping on the popup_width_unit parameter. Authenticated attackers with author-level access or higher can inject arbitrary web scripts that execute when a user accesses an affected page. The injected payload persists in the page markup, enabling session hijacking, redirects, and administrative action abuse against logged-in viewers.
Critical Impact
Authenticated contributors with author privileges can store JavaScript that executes in the browsers of site visitors and administrators.
Affected Products
- Themify Popup plugin for WordPress, versions up to and including 1.4.7
- WordPress sites that permit author-level or higher account registration
- Any page rendering popup styles via the vulnerable views/styles.php template
Discovery Timeline
- 2026-10-17 - CVE-2026-109989 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-109989
Vulnerability Analysis
The vulnerability resides in how the Themify Popup plugin processes the popup_width_unit metabox parameter. The plugin stores the attacker-supplied value through the metabox handler in includes/themify-metabox/includes/themify-metabox-core.php without applying sanitization. The stored value is later emitted into page output by views/styles.php without escaping. Because the attribute flows into inline style context, an author-level user can break out of the expected unit value (such as px or %) and inject arbitrary markup or script. The payload is served to every visitor who loads a page containing the configured popup, giving the attack a stored and persistent nature rather than a reflected one.
Root Cause
The root cause is missing input validation on the popup_width_unit field at save time and missing output escaping at render time. The plugin treats the value as trusted CSS unit data. Neither sanitize_text_field() nor an escaping function such as esc_attr() or esc_html() is applied along the data flow between the metabox save routine and the style rendering view.
Attack Vector
Exploitation requires an authenticated session with author-level privileges or above. The attacker creates or edits a popup, submits a malicious popup_width_unit value through the metabox save endpoint, and publishes the content. When any visitor, including an administrator, loads a page displaying the popup, the injected script runs in that visitor's browser session. See the Wordfence Vulnerability Analysis and the vulnerable code paths at themify-metabox-core.php L151, themify-metabox-core.php L209, and styles.php L29 for technical details.
Detection Methods for CVE-2026-109989
Indicators of Compromise
- Popup post meta values for popup_width_unit containing characters outside the expected set of px, %, em, or rem.
- Rendered pages containing <script> tags or event handlers inside popup style blocks.
- Unexpected outbound requests from administrator browsers after loading pages that embed Themify popups.
- New or modified author-level accounts correlated with recent popup creation or edits.
Detection Strategies
- Audit the wp_postmeta table for popup post types where popup_width_unit contains angle brackets, quotes, or the string script.
- Deploy web application firewall rules that inspect requests to post.php and admin-ajax.php for XSS payloads in Themify metabox fields.
- Enable Content Security Policy reporting to surface inline script execution on pages that embed popups.
Monitoring Recommendations
- Monitor WordPress audit logs for popup create, update, and publish actions performed by author-level accounts.
- Alert on administrator sessions that trigger CSP violations or unexpected XHR traffic shortly after viewing content pages.
- Track installations of the Themify Popup plugin and flag any still running version 1.4.7 or earlier.
How to Mitigate CVE-2026-109989
Immediate Actions Required
- Update the Themify Popup plugin to the version released in the Themify Popup Changeset that supersedes 1.4.7.
- Review and remove any suspicious popups created or modified by non-administrator accounts.
- Rotate credentials and session cookies for administrators who may have viewed affected pages.
- Audit author-level and higher accounts and revoke privileges from accounts that are not required.
Patch Information
The vendor addressed the vulnerability in the version following 1.4.7, as reflected in the WordPress plugin repository changeset. The fix adds sanitization of the popup_width_unit input and escaping at render time in views/styles.php. Site operators should apply the update through the WordPress admin plugin updater or by replacing the plugin files from the official repository.
Workarounds
- Restrict the author role capability edit_posts on the popup custom post type until the plugin is updated.
- Deactivate the Themify Popup plugin on sites that cannot be patched immediately.
- Enforce a strict Content Security Policy that disallows inline scripts to limit payload execution.
- Require multi-factor authentication for all accounts at contributor level or higher to reduce the risk of account compromise leading to exploitation.
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

