King Addons for Elementor <= 51.1.62 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'form_page_id' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- kingaddons King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder
through 51.1.62
References 10
plugins.trac.wordpress.org
- browser/king-addons/tags/51.1.62/includes/widgets/Form_Builder/helpers/View_Submissions_Pro.php#L305
- browser/king-addons/tags/51.1.62/includes/widgets/Form_Builder/helpers/Create_Submission.php#L68
- browser/king-addons/tags/51.1.62/includes/widgets/Form_Builder/helpers/Upload_Email_File.php#L261
- browser/king-addons/tags/51.1.61/includes/widgets/Form_Builder/helpers/View_Submissions_Pro.php#L305
- browser/king-addons/tags/51.1.61/includes/widgets/Form_Builder/helpers/Create_Submission.php#L68
- browser/king-addons/tags/51.1.61/includes/widgets/Form_Builder/helpers/Upload_Email_File.php#L261
- changeset?old_path=%2Fking-addons/tags/51.1.62&new_path=%2Fking-addons/tags/51.1.63
- 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
- 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