CVE-2025-6325
WordPress vulnerability analysis and mitigation

Overview

The King Addons for Elementor WordPress plugin versions up to 51.1.36 contains a critical privilege escalation vulnerability (CVE-2025-6325). The vulnerability was discovered on July 19, 2025, and affects over 10,000 active installations. This security flaw allows unauthenticated attackers to register new accounts with arbitrary roles, including administrator privileges, potentially leading to full site compromise (Patchstack, Rapid7).

Technical details

The vulnerability exists in the includes/widgets/LoginRegisterForm/LoginRegisterFormAjax.php file, where the plugin's registration handler allowed client-supplied roles without proper validation. An unauthenticated attacker could exploit this by posting to the registration endpoint with action=kingaddonsuserregister and user_role=administrator parameters. The vulnerability requires that site registration is enabled and the King Addons Login | Register Form widget is enabled on a page. The CVSS score for this vulnerability is 9.8 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Patchstack).

Impact

If exploited, this vulnerability allows attackers to create administrator accounts on affected WordPress sites, leading to complete site compromise. The attacker would gain full administrative access, enabling them to modify site content, install malicious plugins, access sensitive information, and potentially compromise the entire website infrastructure (Patchstack).

Mitigation and workarounds

The vulnerability was patched in version 51.1.36 with the implementation of a role allowlist and input sanitization. The fix restricts the available roles to safe options like 'subscriber' and 'customer'. Site administrators are strongly advised to update to version 51.1.37 or later immediately. The patch includes sanitization of the user_role input and implements proper role restrictions (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13126HIGH7.5
  • wpforo
NoYesDec 14, 2025
CVE-2025-12537MEDIUM6.4
  • addon-elements-for-elementor-page-builder
NoYesDec 14, 2025
CVE-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-12696N/AN/A
  • hls-crm-form-shortcode
NoNoDec 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management