CVE-2026-4246: ElementsKit Pro <= 4.10.1 - Unauthenticated Stored Cross-Site Scripting via 's' Parameter

Published Aug 28, 2026
·
Updated

The ElementsKit Pro plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 's' parameter of the Advanced Search REST endpoint in all versions up to, and including, 4.10.1 due to insufficient input sanitization and output escaping. The REST endpoint at /wp-json/elementskit/v1/advanced-search uses permissioncallback set to returntrue, allowing unauthenticated access. Search terms are stored in the ekitadvancedsearchpopularkeyword WordPress option via updateoption(). While sanitizetextfield() is applied, it does not encode double quotes, and the stored keywords are rendered in HTML attributes via sprintf without escattr(), allowing attribute injection. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user triggers the "no results" popular keywords view on pages using the Advanced Search widget.

Affected Software

1 affected component
ElementsKit ElementsKit Pro<=4.10.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ElementsKit Pro to a version that resolves this vulnerability.

    Fixed in 4.10.1
  2. Compensating control

    Restrict access to the Advanced Search REST endpoint (/wp-json/elementskit/v1/advanced-search). The endpoint currently uses permission_callback set to __return_true (unauthenticated). Change it to require authentication/appropriate WordPress capabilities, so unauthenticated attackers cannot inject stored XSS via the 's' parameter.

Event History

Aug 28, 2026
CVE Published
via MITRE·05:30 AM
Data Sourced
via MITRE·05:30 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Does an attacker need a WordPress account or other authentication to exploit this issue?

No. The Advanced Search REST endpoint permits unauthenticated access because its permission callback is set to __return_true.

2

Which sites are practically exposed to script execution?

Exposure requires a vulnerable ElementsKit Pro installation and a page using the Advanced Search widget. The injected script executes when a user triggers that widget's no-results popular-keywords view.

3

Where is the attacker-controlled content stored?

Submitted search terms are saved in the WordPress option named ekit_advanced_search_popular_keyword. The vulnerable rendering path inserts those stored keywords into HTML attributes without attribute escaping.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203