Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/ass
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/fea
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/wid
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/wid
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/wid
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/wid
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/wid
- https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.38/includes/wid
- https://plugins.trac.wordpress.org/changeset/3438067/
- https://plugins.trac.wordpress.org/changeset/3441952/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/95d3e76c-612d-436c-9d3
FAQ
What is CVE-2025-13535?
CVE-2025-13535 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 d...
How severe is CVE-2025-13535?
CVE-2025-13535 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-13535?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.