Description
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.
Published: 2026-07-10
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in King Addons for Elementor allows a WordPress user with subscriber-level or higher privileges to submit malicious JavaScript in the form_page_id parameter. Because the plugin applies sanitize_text_field()—which retains quotation marks—before storing the value and later concatenates that stored value into an admin_url() call without escaping it, the script is persisted in the database and rendered unchanged when any visitor views the affected form page. This results in a stored cross‑site scripting flaw (CWE‑79) that can be used to inject arbitrary client‑side code into browsers that load the compromised page.

Affected Systems

WordPress sites that have installed King Addons for Elementor version 51.1.62 or earlier, which provides an extensive set of Elementor widgets and templates, WooCommerce integration, Mega Menu, and Popup Builder. The CVE does not indicate that later releases, such as 51.1.63, address the vulnerability, so those newer versions remain unverified as secure.

Risk and Exploitability

The CVSS score of 6.4 marks this issue as a moderate severity vulnerability. Exploitation requires an authenticated account with subscriber or higher permissions, and the malicious payload is stored and later executed whenever a user opens the affected form page. The EPSS score of <1% indicates a very low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. Therefore, the primary threat vector is the WordPress administration interface where form submissions are processed, enabling attackers to inject persistent scripts that will run in the browsers of anyone who views the compromised page.

Generated by OpenCVE AI on July 29, 2026 at 11:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade King Addons for Elementor to the newest available version and verify in the release notes that the form_page_id handling has been hardened.
  • If you cannot apply an immediate update, remove write permissions or delete the form builder capabilities for users with subscriber level access to eliminate the injection path.
  • Search the WordPress database for any post_meta entries containing the form_page_id key with embedded script tags or unescaped URLs, and cleanse or delete those records.
  • Implement a strict Content Security Policy that blocks inline scripts to mitigate the impact of any remaining XSS vectors.

Generated by OpenCVE AI on July 29, 2026 at 11:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
Link Providers
https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.61/includes/widgets/Form_Builder/helpers/Create_Submission.php#L68 cve-icon
https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.61/includes/widgets/Form_Builder/helpers/Upload_Email_File.php#L261 cve-icon
https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.61/includes/widgets/Form_Builder/helpers/View_Submissions_Pro.php#L305 cve-icon
https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.62/includes/widgets/Form_Builder/helpers/Create_Submission.php#L68 cve-icon
https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.62/includes/widgets/Form_Builder/helpers/Upload_Email_File.php#L261 cve-icon
https://plugins.trac.wordpress.org/browser/king-addons/tags/51.1.62/includes/widgets/Form_Builder/helpers/View_Submissions_Pro.php#L305 cve-icon
https://plugins.trac.wordpress.org/changeset/3537725/king-addons/tags/51.1.63/includes/widgets/Form_Builder/helpers/Create_Submission.php?old=3515422&old_path=king-addons%2Ftags%2F51.1.62%2Fincludes%2Fwidgets%2FForm_Builder%2Fhelpers%2FCreate_Submission.php cve-icon
https://plugins.trac.wordpress.org/changeset/3537725/king-addons/tags/51.1.63/includes/widgets/Form_Builder/helpers/View_Submissions_Pro.php?old=3515422&old_path=king-addons%2Ftags%2F51.1.62%2Fincludes%2Fwidgets%2FForm_Builder%2Fhelpers%2FView_Submissions_Pro.php cve-icon
https://plugins.trac.wordpress.org/changeset?old_path=%2Fking-addons/tags/51.1.62&new_path=%2Fking-addons/tags/51.1.63 cve-icon
https://www.wordfence.com/threat-intel/vulnerabilities/id/349ba9de-69b3-42fb-aeba-c3a24280547f?source=cve cve-icon
History

Fri, 10 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 07:15:00 +0000

Type Values Removed Values Added
First Time appeared Kingaddons
Kingaddons king Addons For Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, Woocommerce, Mega Menu, Popup Builder
Wordpress
Wordpress wordpress
Vendors & Products Kingaddons
Kingaddons king Addons For Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, Woocommerce, Mega Menu, Popup Builder
Wordpress
Wordpress wordpress

Fri, 10 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Description 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.
Title King Addons for Elementor <= 51.1.62 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'form_page_id' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Kingaddons King Addons For Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, Woocommerce, Mega Menu, Popup Builder
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-10T20:31:09.070Z

Reserved: 2026-07-09T15:49:20.495Z

Link: CVE-2026-15284

cve-icon Vulnrichment

Updated: 2026-07-10T20:25:19.405Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:30:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')