CVE-2024-54253

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in Xpro Elementor Addons WordPress plugin allows attackers to inject malicious scripts into web pages that are then executed when other users view those pages. It affects WordPress sites using Xpro Elementor Addons versions up to 1.4.6.1. Attackers can steal session cookies, redirect users, or perform actions on behalf of authenticated users.

💻 Affected Systems

Products:
  • Xpro Elementor Addons WordPress Plugin
Versions: n/a through 1.4.6.1
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations using vulnerable versions of the plugin, regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, take over the WordPress site, install backdoors, or redirect all visitors to malicious sites.

🟠

Likely Case

Attackers inject malicious scripts to steal user session cookies, potentially compromising user accounts and performing unauthorized actions.

🟢

If Mitigated

With proper input validation and output encoding, the malicious scripts would be neutralized and rendered harmless.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Stored XSS vulnerabilities typically require some level of user interaction or content creation privileges, but exploitation is straightforward once access is obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 1.4.6.1

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/xpro-elementor-addons/vulnerability/wordpress-xpro-addons-for-elementor-plugin-1-4-6-1-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Xpro Elementor Addons' and check if update is available. 4. Click 'Update Now' if update is available. 5. Alternatively, download latest version from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the Xpro Elementor Addons plugin until patched

wp plugin deactivate xpro-elementor-addons

Implement Content Security Policy

all

Add CSP headers to restrict script execution sources

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to nginx config: add_header Content-Security-Policy "default-src 'self'; script-src 'self'";

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Restrict user permissions to prevent untrusted users from creating/modifying content

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for Xpro Elementor Addons version

Check Version:

wp plugin get xpro-elementor-addons --field=version

Verify Fix Applied:

Verify plugin version is 1.4.6.2 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • Suspicious script tags in content submissions
  • Multiple failed login attempts followed by content creation

Network Indicators:

  • Outbound connections to suspicious domains after page loads
  • Unexpected script sources in HTTP responses

SIEM Query:

source="wordpress.log" AND ("xpro-elementor-addons" OR "xpro_addons") AND ("script" OR "javascript:" OR "onload=" OR "onerror=")

🔗 References

📤 Share & Export