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

- Severity: Medium 6.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-08-28T05:30:45.369Z
- Modified: 2026-08-28T20:17:39.897Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- wpmet ElementsKit Pro: up to 4.10.1

## 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/>

## Sources

- CVE List: [CVE-2026-4246](https://www.cve.org/CVERecord?id=CVE-2026-4246), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-4246](https://nvd.nist.gov/vuln/detail/CVE-2026-4246), Public domain, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-4246 · Whole record: https://cve.day/CVE-2026-4246.json · Rebuilt by cve.day 2026-11-25T22:59:35.577Z
