6.4medium
King Addons for Elementor <= 51.1.38 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Multiple Widgets
- Severity
- 6.4medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.28% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kingaddons King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder | up to 51.1.53 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El plugin King Addons for Elementor para WordPress es vulnerable a múltiples vulnerabilidades de cross-site scripting almacenado basado en DOM de Contributor+ en todas las versiones hasta, e incluyendo, la 51.1.38. Esto se debe a una sanitización de entrada insuficiente y un escape de salida en múltiples widgets y características. El plugin utiliza esc_attr() y esc_url() dentro de manejadores de eventos en línea de JavaScript (atributos onclick), lo que permite que las entidades HTML sean decodificadas por el DOM, permitiendo a los atacantes salir del contexto de JavaScript. Además, varios archivos JavaScript utilizan métodos de manipulación del DOM inseguros (literales de plantilla, .html(), y window.location.href con URLs no validadas) con datos controlados por el usuario. Esto hace posible que atacantes autenticados, con acceso de nivel Contributor y superior, inyecten scripts web arbitrarios a través de la configuración de widgets de Elementor que se ejecutan cuando un usuario accede a la página inyectada o cuando un administrador previsualiza la página en el editor de Elementor. La vulnerabilidad fue parcialmente parcheada en la versión 5.1.51.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13535 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2025-13535 changed 2026-10-07 | Public domain |