What the vulnerability does
01Description
The King Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'form_page_id' parameter in versions up to, and including, 51.1.62 This is due to insufficient input sanitization in the add_to_submissions() function, which applies sanitize_text_field() (which preserves double-quote characters) before storing the value in post meta, combined with missing output escaping in the king_addons_submissions_custom_column_content() function, which concatenates the stored value into an HTML href attribute via admin_url() without wrapping the result in esc_url(). This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
King Addons for Elementor contains a stored cross-site scripting (XSS) vulnerability in versions up to 51.1.62. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, potentially compromising their sessions or stealing sensitive data. The vulnerability affects the plugin's widget or template rendering system.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers when they view affected pages.
Potential impact on your site
04Site Impact
Visitors and admins may have their sessions hijacked, credentials stolen, or site content defaced by injected scripts.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account (e.g., subscriber or contributor) on the WordPress site.
Key dates
06Disclosure timeline
July 10, 2026
CVE published