CWE
79
EPSS
0.045%
Advisory Published
Updated

CVE-2024-4702: Mega Elements <= 1.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Button Widget

First published: Wed May 15 2024(Updated: )

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.

Credit: security@wordfence.com

Affected SoftwareAffected VersionHow to fix
Kraftplugins Mega Elements<1.2.2
Mega Elements<=1.2.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-4702?

    CVE-2024-4702 has a medium severity rating due to the potential for stored cross-site scripting attacks.

  • How do I fix CVE-2024-4702?

    To fix CVE-2024-4702, update the Mega Elements plugin to version 1.2.2 or later.

  • Who is affected by CVE-2024-4702?

    CVE-2024-4702 affects all versions of the Mega Elements plugin for WordPress up to and including version 1.2.1.

  • What type of vulnerability is CVE-2024-4702?

    CVE-2024-4702 is categorized as a Stored Cross-Site Scripting (XSS) vulnerability.

  • What can attackers do with CVE-2024-4702?

    Attackers can exploit CVE-2024-4702 to execute arbitrary scripts in the context of an authenticated user's session.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203