Skip to main content

CVE-2024-3547: Unlimited Elements For Elementor XSS Vulnerability

CVE-2024-3547 is a reflected cross-site scripting flaw in Unlimited Elements For Elementor plugin that allows attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-3547 Overview

CVE-2024-3547 is a reflected Cross-Site Scripting (XSS) vulnerability in the Unlimited Elements For Elementor (Free Widgets, Addons, Templates) plugin for WordPress. The flaw affects all versions up to and including 1.5.102 and stems from insufficient input sanitization and output escaping on the google_connect_error parameter. Unauthenticated attackers can inject arbitrary web scripts that execute when a victim clicks a crafted link. The issue is tracked under [CWE-79] (Improper Neutralization of Input During Web Page Generation).

Critical Impact

Unauthenticated attackers can execute arbitrary JavaScript in a victim's browser session, enabling session theft, administrative account takeover, and malicious redirects on affected WordPress sites.

Affected Products

  • Unlimited Elements For Elementor (Free Widgets, Addons, Templates) WordPress plugin versions up to and including 1.5.102
  • WordPress sites running the vulnerable plugin on any supported WordPress core version
  • Sites exposing the affected google_connect_error parameter to unauthenticated requests

Discovery Timeline

  • 2024-05-14 - CVE-2024-3547 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in the NVD database

Technical Details for CVE-2024-3547

Vulnerability Analysis

The vulnerability is a reflected XSS flaw in the plugin's settings output logic, specifically in inc_php/unitecreator_settings_output.class.php. The google_connect_error request parameter is reflected back into the rendered HTML without proper sanitization or output encoding. An attacker crafts a URL containing malicious JavaScript in the google_connect_error value and lures a target to click it. The payload executes in the victim's browser under the origin of the WordPress site. Because the attack requires user interaction and the scope changes from the injected context to the application, impact is limited to confidentiality and integrity rather than full availability loss.

Root Cause

The root cause is missing input validation and missing output escaping on a user-controllable query parameter. The plugin writes the value of google_connect_error directly into page markup without applying WordPress escaping helpers such as esc_html(), esc_attr(), or wp_kses(). Any string, including HTML tags and <script> blocks, is rendered verbatim.

Attack Vector

Exploitation requires an unauthenticated attacker to deliver a crafted link to a target, typically through phishing, forum posts, chat messages, or malicious ads. When the victim loads the URL on a vulnerable WordPress site, the reflected payload executes in their browser. If the victim is an authenticated administrator, the attacker can perform privileged actions, exfiltrate cookies, inject backdoor accounts, or modify site content.

No verified exploit code is publicly available. See the Wordfence Vulnerability Report and the WordPress Plugins Change Log for the vendor's remediation details.

Detection Methods for CVE-2024-3547

Indicators of Compromise

  • HTTP requests containing the google_connect_error parameter with HTML or JavaScript syntax such as <script>, onerror=, or javascript: schemes
  • Access log entries showing unusually long or URL-encoded values on the google_connect_error query string
  • WordPress administrator sessions originating from unexpected IP addresses shortly after an admin clicked an external link
  • New or modified administrator accounts, plugin installations, or theme files following suspicious inbound traffic

Detection Strategies

  • Deploy web application firewall (WAF) signatures that flag reflected XSS payloads in query parameters, with specific coverage for google_connect_error
  • Inspect WordPress access logs for GET requests to plugin endpoints containing encoded <, >, or script tokens
  • Correlate suspicious URL click telemetry with subsequent administrative changes in wp-admin

Monitoring Recommendations

  • Alert on inbound requests to pages that render google_connect_error from untrusted referrers
  • Monitor WordPress audit logs for user role changes, new admin accounts, and plugin or theme file modifications
  • Track browser-side Content Security Policy (CSP) violation reports to surface injected inline scripts

How to Mitigate CVE-2024-3547

Immediate Actions Required

  • Update the Unlimited Elements For Elementor plugin to a version later than 1.5.102 that includes the fix from changeset 3071404
  • Audit WordPress administrator accounts and rotate credentials for any users who may have clicked suspicious links
  • Review recent plugin, theme, and user changes for signs of post-exploitation activity

Patch Information

The vendor remediated the issue in the plugin trunk via changeset 3071404, which updates inc_php/unitecreator_settings_output.class.php to properly sanitize and escape the google_connect_error parameter before rendering. Site administrators should upgrade to the first released version containing this changeset. Refer to the Wordfence Vulnerability Report for the fixed version metadata.

Workarounds

  • Deploy a WAF rule to block requests containing HTML or script syntax in the google_connect_error query parameter
  • Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins
  • Disable or remove the Unlimited Elements For Elementor plugin until the patched version can be installed
bash
# Example WAF rule (ModSecurity) to block XSS payloads in google_connect_error
SecRule ARGS:google_connect_error "@rx (?i)(<script|onerror=|javascript:|<img|<svg)" \
  "id:1004735,phase:2,deny,status:403,log,msg:'CVE-2024-3547 Reflected XSS attempt'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.