CVE-2026-2918
Last modified
CVE-2026-2918 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-2918?
How severe is CVE-2026-2918?
How do I fix CVE-2026-2918?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-29174Craft Commerce is an ecommerce platform for Craft CMS. Prior…8.8
- CVE-2026-29175Craft Commerce is an ecommerce platform for Craft CMS. Prior…5.4
- CVE-2026-29176Craft Commerce is an ecommerce platform for Craft CMS. Prior…4.8
- CVE-2026-29177Craft Commerce is an ecommerce platform for Craft CMS. Prior…5.4
- CVE-2026-29178Lemmy, a link aggregator and forum for the fediverse, is vul…7.7
- CVE-2026-29179October is a Content Management System (CMS) and web platfor…3.3
- CVE-2026-29180Fleet is open source device management software. Prior to 4.…8.8
- CVE-2026-29181OpenTelemetry-Go is the Go implementation of OpenTelemetry. …7.5
- CVE-2026-29182Parse Server is an open source backend that can be deployed …7.2
- CVE-2026-29183SiYuan is a personal knowledge management system. Prior to v…6.1
- CVE-2026-29184Backstage is an open framework for building developer portal…6.5
- CVE-2026-29185Backstage is an open framework for building developer portal…2.7
Are you affected by CVE-2026-2918?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
