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)

EPSS: 0.002 (15.4th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.