XSS in Kingaddons King Addons For Elementor – 80+ Widgets, 4 000+ Templates, Woocommerce, Mega Menu, Popup Builder
CVE-2025-13535
The King Addons for Elementor plugin for WordPress is vulnerable to multiple Contributor+ DOM-Based Stored Cross-Site Scripting vulnerabilities in all versions up to, and including, 51.1.38. This is due to insufficient input sanitization and output escaping across multiple widgets and features. The plugin uses esc_attr() and esc_url() within JavaScript inline event handlers (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 use unsafe DOM manipulation methods (template literals, .html(), and window.location.href with unvalidated URLs) with user-controlled data. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts via Elementor widget settings that execute when a user accesses the injected page or when an administrator previews the page in Elementor's editor. The vulnerability was partially patched in version 5.1.51.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (13.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 13.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/95d3e76c-612d-436c-9d32-6228d…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/assets/lib…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/widgets/Vi…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/widgets/Of…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/widgets/Po…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/features/W…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/widgets/Pr…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/widgets/Co…
- plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/widgets/Im…
- plugins.trac.wordpress.org/changeset/3438067/
Frequently asked questions
- What is CVE-2025-13535?
- CVE-2025-13535 is a medium-severity vulnerability in Kingaddons King Addons For Elementor – 80+ Widgets, 4 000+ Templates, Woocommerce, Mega Menu, Popup Builder, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2026-04-01.
- How severe is CVE-2025-13535?
- Medium severity. CVSS v3 base score is 6.4 out of 10.