CVE-2025-69360

6.5 MEDIUM

📋 TL;DR

This DOM-based cross-site scripting (XSS) vulnerability in TheGem Theme Elements for WPBakery WordPress plugin allows attackers to inject malicious scripts into web pages viewed by users. Attackers can steal session cookies, redirect users to malicious sites, or perform actions on behalf of authenticated users. WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • CodexThemes TheGem Theme Elements (for WPBakery)
Versions: All versions through 5.11.0
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WPBakery page builder and TheGem Theme Elements plugin installed and active.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers steal administrator session cookies, gain full administrative access to WordPress sites, install backdoors, deface websites, or exfiltrate sensitive data.

🟠

Likely Case

Attackers steal user session cookies, redirect visitors to phishing sites, or perform limited actions based on victim's permissions.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts are neutralized before execution, preventing exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

DOM-based XSS typically requires user interaction (clicking malicious link) but can be exploited without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 5.11.0

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/thegem-elements/vulnerability/wordpress-thegem-theme-elements-for-wpbakery-plugin-5-11-0-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 'TheGem Theme Elements (for WPBakery)'. 4. Click 'Update Now' if available, or download latest version from WordPress repository. 5. Activate updated plugin.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable TheGem Theme Elements plugin until patched

wp plugin deactivate thegem-elements

Implement Content Security Policy

all

Add CSP headers to restrict script execution sources

Add to .htaccess: Header set Content-Security-Policy "script-src 'self'"
Add to wp-config.php: header("Content-Security-Policy: script-src 'self'");

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Enable WordPress security plugins with XSS protection features

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → TheGem Theme Elements version. If version is 5.11.0 or earlier, you are vulnerable.

Check Version:

wp plugin get thegem-elements --field=version

Verify Fix Applied:

Verify plugin version is higher than 5.11.0 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual JavaScript payloads in URL parameters
  • Multiple requests with script tags in query strings
  • Unexpected iframe or script injections in page content

Network Indicators:

  • Requests containing <script>, javascript:, or eval() in parameters
  • Outbound connections to unknown domains following page loads

SIEM Query:

source="wordpress.log" AND ("<script" OR "javascript:" OR "onload=" OR "onerror=")

🔗 References

📤 Share & Export