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

CVE-2026-104393: Happy Addons for Elementor XSS Vulnerability

CVE-2026-104393 is a stored cross-site scripting flaw in Happy Addons for Elementor that enables attackers to inject malicious scripts into web pages. This article covers technical details, affected versions, and mitigation.

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-104393 Overview

CVE-2026-104393 is a stored cross-site scripting (XSS) vulnerability in the weDevs Happy Addons for Elementor WordPress plugin. The flaw affects all versions up to and including 3.50.0 and is tracked under CWE-79. An authenticated contributor-level user can inject malicious scripts that persist in rendered WordPress pages. The payload executes in the browser of any visitor or administrator who views the affected content. Exploitation requires low privileges and user interaction, but the scope changes because scripts execute in the context of other users.

Critical Impact

Attackers with low-privilege plugin access can store JavaScript that executes against site visitors and administrators, enabling session theft, forced actions, and potential account takeover.

Affected Products

  • weDevs Happy Addons for Elementor (happy-elementor-addons) versions up to and including 3.50.0
  • WordPress sites running the vulnerable plugin alongside Elementor
  • Multi-author WordPress environments where contributor accounts can author content using Happy Addons widgets

Discovery Timeline

  • 2026-10-07 - CVE-2026-104393 published to NVD
  • 2026-10-07 - Last updated in NVD database

Technical Details for CVE-2026-104393

Vulnerability Analysis

The vulnerability is a stored XSS flaw in the Happy Addons for Elementor plugin for WordPress. Happy Addons extends the Elementor page builder with additional widgets and design elements. One or more widget inputs fail to properly neutralize user-supplied data during web page generation. Attacker-supplied markup is persisted into post or widget content and later rendered without adequate sanitization or output encoding. When a visitor or administrator loads the affected page, the browser executes the injected script in the origin of the WordPress site. This exposes session cookies, enables cross-site request forgery against administrative actions, and supports targeted phishing within the trusted site context.

Root Cause

The root cause is improper neutralization of input during web page generation [CWE-79]. Widget attributes accepted from authenticated users are stored and later echoed into the DOM without consistent escaping through functions such as esc_html(), esc_attr(), or wp_kses_post(). Specific vulnerable widget fields are not detailed in the public advisory; see the Patchstack XSS Vulnerability Report for additional detail.

Attack Vector

An attacker authenticates to WordPress with at least contributor-level privileges. The attacker edits a post or template using an affected Happy Addons widget and submits a payload containing JavaScript through a vulnerable field. The payload is stored in the WordPress database. When another user, including an administrator reviewing the submission, loads the page, the browser executes the script in the site's origin. The attacker can then exfiltrate authentication cookies, invoke privileged REST endpoints, or pivot to full administrative access.

Detection Methods for CVE-2026-104393

Indicators of Compromise

  • Unexpected <script>, onerror, onload, or javascript: strings stored in wp_posts, wp_postmeta, or Elementor data payloads referencing Happy Addons widgets.
  • New or modified administrator accounts following contributor-authored content submissions.
  • Outbound browser requests from authenticated admin sessions to attacker-controlled domains after viewing contributor drafts.

Detection Strategies

  • Query the WordPress database for Elementor widget records containing HTML event handlers or script tags within Happy Addons widget JSON.
  • Review web server access logs for POST requests to /wp-admin/admin-ajax.php and /wp-json/ endpoints associated with Elementor editing by low-privilege users.
  • Deploy a Content Security Policy with report-only mode and monitor violation reports for script executions on pages built with Happy Addons.

Monitoring Recommendations

  • Alert on creation or modification of users with elevated roles shortly after contributor logins.
  • Monitor plugin version inventory and flag any WordPress site still running happy-elementor-addons at or below version 3.50.0.
  • Track administrator session anomalies, including unexpected API calls or settings changes initiated from editor preview pages.

How to Mitigate CVE-2026-104393

Immediate Actions Required

  • Update Happy Addons for Elementor to a version released after 3.50.0 that addresses the XSS flaw as soon as the vendor publishes a fix.
  • Audit existing posts, templates, and saved Elementor data for stored script payloads before restoring normal editorial workflows.
  • Restrict contributor and author accounts to trusted users and enforce multi-factor authentication for all editorial roles.

Patch Information

At the time of publication, the advisory lists affected versions from n/a through 3.50.0. Review the Patchstack XSS Vulnerability Report and the official weDevs plugin page for the fixed release and apply the update across all WordPress installations.

Workarounds

  • Temporarily disable the Happy Addons for Elementor plugin on sites that cannot be patched immediately.
  • Remove or downgrade contributor and author roles until the plugin is updated and audited.
  • Deploy a web application firewall rule to block requests containing script tags or JavaScript event handlers to Elementor editing endpoints.
bash
# Configuration example: enforce a restrictive Content Security Policy via .htaccess
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors '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.