This module exploits an unauthenticated privilege escalation vulnerability in the WordPress King Addons for Elementor plugin (versions 24.12.92 to 51.1.14). The vulnerability exists in the handle_register_ajax() function which allows unauthenticated attackers to specify the user_role parameter during registration, enabling them to create administrator accounts. This exploit requires a WordPress page containing the King Addons "Login Register Form" Elementor widget, which exposes the required nonce token in the page's JavaScript. The NONCE_PAGE option must be set to the path of such a page. Once an administrator account is created, the module uploads and executes a malicious plugin to achieve remote code execution (RCE).
Exploit database
Vulnerability
CVE-2025-8489
King Addons for Elementor – Free Elements, Widgets, Templates, and Features for Elementor 24.12.92 - 51.1.14 - Unauthenticated Privilege Escalation
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · Wordfence
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
The King Addons for Elementor – Free Elements, Widgets, Templates, and Features for Elementor plugin for WordPress is vulnerable to privilege escalation in versions 24.12.92 to 51.1.14 . This is due to the plugin not properly restricting the roles that users can register with. This makes it possible for unauthenticated attackers to register with administrator-level user accounts.
CVE ProgramExploit source choices
1 sourceWordPress King Addons for Elementor Unauthenticated Privilege Escalation to RCE
2025-10-30wp_king_addons_privilege_escalation.rb