CVE-2026-118419: WP Directory Kit < 1.6.5 - Unauthenticated Reflected Cross-Site Scripting via Elementor Button Widgets
The WP Directory Kit WordPress plugin before 1.6.5 does not restrict the URL scheme of its Elementor button widgets' links and gives request data precedence over the stored widget configuration, allowing unauthenticated attackers to replace a button's link with a javascript: URI through a cross-site request, leading to Reflected Cross-Site Scripting against any visitor, including an administrator, who then clicks the button.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.6.5
Event History
Frequently Asked Questions
Which sites are exposed?
Sites using WP Directory Kit versions before 1.6.5 are affected where Elementor button widgets are present. The issue is triggered through the widgets' link handling.
Does exploitation require an authenticated WordPress account?
No. An attacker can exploit the issue without authentication by causing a cross-site request that replaces a button link with a javascript: URI.
What user interaction is required for impact?
A visitor must click the affected button after its link has been replaced. This can affect any visitor who clicks it, including an administrator.
What should be done if the plugin is installed?
Update WP Directory Kit to version 1.6.5 or later. The affected versions are those before 1.6.5.