Happy Addons for Elementor <= 3.21.0 — Insecure Direct Object Reference to Authenticated (Contributor+) Stored Cross-Site Scripting via Template Conditions
CVE-2026-2918Published · Updated Action summary
Affected: ≤3.21.0Update to 3.21.1 or newer
All remediation steps- Severity
- Medium6.4
- CVSS
- 6.4CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:CScope- Changed
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
HappyAddons for Elementor – 160 Elementor Widgets, GSAP Animations & Templates happy-elementor-addons
- Affected≤ 3.21.0
- Patched in3.21.1
Update to 3.21.1 or newer.
You are affected if you run ≤ 3.21.0. Version 3.21.1 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under HappyAddons for Elementor – 160 Elementor Widgets, GSAP Animations & Templates.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 3.21.1, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch HappyAddons for Elementor – 160 Elementor Widgets, GSAP Animations & Templates to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Dmitrii Ignatyev.
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in HappyAddons for Elementor – 160 Elementor Widgets, GSAP Animations & Templates
All 51| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting ≤3.51.0Update to 3.51.3 | CVE-2026-123473 | |
| Medium4.3 | Missing Authorization ≤3.51.0Update to 3.51.3 | CVE-2026-124269 | |
| Medium4.3 | Missing Authorization ≤3.50.1Update to 3.51.0 | CVE-2026-109891 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting ≤3.50.1Update to 3.51.0 | CVE-2026-116850 | |
| Medium6.4 | Authenticated (Contributor+) Stored Cross-Site Scripting ≤3.50.0Update to 3.50.1 | CVE-2026-104393 |
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤3.51.0Update to 3.51.3
- Medium4.3Missing Authorization
≤3.51.0Update to 3.51.3
- Medium4.3Missing Authorization
≤3.50.1Update to 3.51.0
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤3.50.1Update to 3.51.0
- Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting
≤3.50.0Update to 3.50.1
Timeline
CVE published
Severity medium, CVSS 6.4
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- [object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
