CVE-2024-4702: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kraftplugins Mega Elements – Addons for Elementor
The Mega Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Button widget in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
The Mega Elements – Addons for Elementor WordPress plugin suffers from a stored XSS vulnerability (CWE-79) in its Button widget due to improper neutralization of input during web page generation. Authenticated attackers with contributor or higher privileges can inject arbitrary JavaScript code into pages, which executes in the context of users viewing those pages. This vulnerability affects all versions up to 1.2.1. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required at the contributor level, no user interaction needed, and impacts confidentiality and integrity with no impact on availability. There is no vendor advisory or patch link provided, and no known exploits in the wild have been reported.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to inject malicious scripts that execute in the browsers of users who visit the affected pages. This can lead to unauthorized actions such as session hijacking, defacement, or other attacks that compromise user confidentiality and integrity. Availability is not impacted. The vulnerability requires authenticated access, limiting the attack surface to users with contributor or higher roles.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the vulnerable Button widget if possible. Monitor for updates from kraftplugins regarding patches or official mitigations.
CVE-2024-4702: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in kraftplugins Mega Elements – Addons for Elementor
Description
The Mega Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's Button widget in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Mega Elements – Addons for Elementor WordPress plugin suffers from a stored XSS vulnerability (CWE-79) in its Button widget due to improper neutralization of input during web page generation. Authenticated attackers with contributor or higher privileges can inject arbitrary JavaScript code into pages, which executes in the context of users viewing those pages. This vulnerability affects all versions up to 1.2.1. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required at the contributor level, no user interaction needed, and impacts confidentiality and integrity with no impact on availability. There is no vendor advisory or patch link provided, and no known exploits in the wild have been reported.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to inject malicious scripts that execute in the browsers of users who visit the affected pages. This can lead to unauthorized actions such as session hijacking, defacement, or other attacks that compromise user confidentiality and integrity. Availability is not impacted. The vulnerability requires authenticated access, limiting the attack surface to users with contributor or higher roles.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the vulnerable Button widget if possible. Monitor for updates from kraftplugins regarding patches or official mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-09T18:50:21.796Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b94b7ef31ef0b556dfe
Added to database: 2/25/2026, 9:37:24 PM
Last enriched: 4/9/2026, 2:37:05 PM
Last updated: 4/11/2026, 8:47:59 PM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.