
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-13535 is a set of multiple Contributor+ DOM-Based Stored Cross-Site Scripting (XSS) vulnerabilities in the King Addons for Elementor WordPress plugin. All versions up to and including 51.1.38 are affected, with a partial patch introduced in version 5.1.51. The vulnerability was published on April 1, 2026, and assigned a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).
The root cause is insufficient input sanitization and output escaping (CWE-79) across multiple widgets and features of the plugin. Specifically, the plugin incorrectly uses esc_attr() and esc_url() within JavaScript inline event handlers (e.g., onclick attributes), which allows HTML entities to be decoded by the DOM, enabling attackers to break out of the JavaScript context. Additionally, several JavaScript files employ unsafe DOM manipulation methods — including template literals, jQuery's .html(), and window.location.href with unvalidated URLs — that process user-controlled data without proper sanitization. Affected components include the Video Popup, Off Canvas Content, Popup, Wrapper Link, Pricing Calculator, Countdown, Image Accordion widgets, and the lightgallery library (GitHub Advisory, Wordfence).
Authenticated attackers with Contributor-level access or above can inject arbitrary web scripts via Elementor widget settings. These scripts execute when any user visits the affected page or when an administrator previews the page in Elementor's editor, potentially leading to session hijacking, credential theft, site defacement, and unauthorized actions performed on behalf of affected users. The changed scope (S:C) in the CVSS vector indicates that the impact extends beyond the vulnerable component itself to affect other users and potentially the broader WordPress site (GitHub Advisory, Wordfence).
There is no evidence of a public proof-of-concept exploit or active in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.056–0.084%, indicating a low near-term probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the Contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities.
onclick attribute or processed by an unsafe DOM method. For example, in an onclick-bound field, inject a payload such as &#x22;><img src=x onerror=alert(document.cookie)> that, when decoded by the DOM, breaks out of the attribute context and executes arbitrary JavaScript.wp-admin/admin-ajax.php with action=elementor_save_builder) from Contributor-level accounts; unexpected JavaScript content in widget settings fields.wp_postmeta table) for Elementor widget data containing suspicious JavaScript patterns such as <script>, onerror=, onclick=, or encoded HTML entities in widget configuration fields.window.location.href to attacker-controlled URLs.Update the King Addons for Elementor plugin to version 5.1.51 or later, which contains a partial patch for this vulnerability; monitor for further updates addressing remaining issues (GitHub Advisory, Wordfence). As a workaround, restrict Contributor-level access to only fully trusted users, and audit existing Elementor widget configurations for suspicious JavaScript payloads. Implementing a Content Security Policy (CSP) header and deploying a web application firewall (WAF) with XSS detection rules can provide additional defense-in-depth.
The vulnerability was discovered and reported by Wordfence, which published the threat intelligence entry and assigned the CVE (Wordfence). No significant broader media coverage, researcher commentary, or notable social media discussion has been identified for this vulnerability.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."