CVE-2026-2918
Medium · 6.4CVSS
6.4
EPSS
0.3%
Published
Mar 11, 2026
CISA due date
—
The record
The Happy Addons for Elementor plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 3.21.0 via the `ha_condition_update` AJAX action. This is due to the `validate_reqeust()` method using `current_user_can('edit_posts', $template_id)` instead of `current_user_can('edit_post', $template_id)` — failing to perform object-level authorization. Additionally, the `ha_get_current_condition` AJAX action lacks a capability check. This makes it possible for authenticated attackers, with Contributor-level access and above, to modify the display conditions of any published `ha_library` template. Because the `cond_to_html()` renderer outputs condition values into HTML attributes without proper escaping (using string concatenation instead of `esc_attr()`), an attacker can inject event handler attributes (e.g., `onmouseover`) that execute JavaScript when an administrator views the Template Conditions panel, resulting in Stored Cross-Site Scripting.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-13319 GitLab has remediated an issue in GitLab CE/EE affecting all versions from 15.10 before… CWE-639
- CVE-2026-111767 MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and… CWE-639
- CVE-2026-105755 vLLM is an inference and serving engine for large language models. CWE-639
- CVE-2026-105754 vLLM is an inference and serving engine for large language models. CWE-639
- CVE-2026-62140 Unauthenticated Insecure Direct Object References (IDOR) in Quiz And Survey Master <=… CWE-639
- CVE-2026-62134 Contributor Insecure Direct Object References (IDOR) in Starter Templates <= 4.7.5… CWE-639
- CVE-2026-62113 Contributor Insecure Direct Object References (IDOR) in Slim SEO <= 4.10.0 versions. CWE-639
- CVE-2026-89264 MoguBlog through 6.2 fails to validate the comment author identity in the POST… CWE-639