CVE-2026-4246: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpmet ElementsKit Pro
Description
ElementsKit Pro WordPress plugin versions up to and including 4.10.1 contain a stored cross-site scripting (XSS) vulnerability in the Advanced Search REST endpoint. The vulnerability arises because the 's' parameter is insufficiently sanitized and output is not properly escaped, allowing injection of arbitrary scripts. The REST endpoint is accessible without authentication, and injected scripts execute when users view the 'no results' popular keywords in the Advanced Search widget.
CVSS v3.1
Score 6.1medium
Affected software
wpmet
ElementsKit Pro
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ElementsKit Pro plugin for WordPress is vulnerable to stored cross-site scripting (CWE-79) via the 's' parameter of its Advanced Search REST endpoint (/wp-json/elementskit/v1/advanced-search). The endpoint uses a permission callback that allows unauthenticated access. Search terms are stored in the WordPress option 'ekit_advanced_search_popular_keyword' using update_option(). Although sanitize_text_field() is applied to input, it does not encode double quotes, and the stored keywords are rendered in HTML attributes without esc_attr(), enabling attribute injection. This allows unauthenticated attackers to inject arbitrary JavaScript that executes when users trigger the 'no results' popular keywords view on pages using the Advanced Search widget.
Potential Impact
An unauthenticated attacker can inject malicious scripts that execute in the context of users visiting pages with the Advanced Search widget, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability affects confidentiality and integrity of user interactions but does not impact availability.
Mitigation Recommendations
No official patch or remediation is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider disabling the Advanced Search widget or restricting access to the vulnerable REST endpoint if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-15T23:03:47.576Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a913ad1acd9273b4992fa19
Added to database: 08/28/2026, 07:37:53 UTC
Last enriched: 09/10/2026, 03:23:36 UTC
Last updated: 10/12/2026, 18:48:20 UTC
Views: 86
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.