CVE-2026-4246
Received Received - Intake

Stored XSS in ElementsKit Pro WordPress Plugin

Vulnerability report for CVE-2026-4246, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-28

Last updated on: 2026-08-28

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-28
Last Modified
2026-08-28
Generated
2026-08-28
AI Q&A
2026-08-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
elementskit elementskit_pro to 4.10.1 (inc)
wpmet elementskit to 4.10.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The ElementsKit Pro WordPress plugin has a stored Cross-Site Scripting (XSS) vulnerability in its Advanced Search REST endpoint. The 's' parameter is not properly sanitized, allowing unauthenticated attackers to inject malicious scripts. These scripts execute when users view the 'no results' popular keywords section on pages using the Advanced Search widget.

Detection Guidance

Check for the ElementsKit Pro plugin version up to 4.10.1. Inspect WordPress REST API endpoints for /wp-json/elementskit/v1/advanced-search. Look for stored search terms in the ekit_advanced_search_popular_keyword option. Monitor for unauthorized script execution in HTML attributes.

Impact Analysis

Unauthenticated attackers can inject scripts that run in users' browsers when they access affected pages. This could lead to theft of session cookies, account takeover, or defacement of the website. Users with admin privileges could further compromise the site if they trigger the malicious payload.

Compliance Impact

This vulnerability could lead to unauthorized access to user data, violating GDPR's data protection requirements and HIPAA's security rules for protected health information. It may result in data breaches, non-compliance penalties, and loss of user trust.

Mitigation Strategies

Update the ElementsKit Pro plugin to the latest version beyond 4.10.1. Disable the Advanced Search REST endpoint if not needed. Implement input sanitization for search parameters. Use esc_attr() when rendering stored keywords in HTML.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-4246. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart