CVE-2024-12439

6.4 MEDIUM

📋 TL;DR

The Marketplace Items WordPress plugin has a stored XSS vulnerability that allows authenticated attackers with contributor-level access or higher to inject malicious scripts into website pages. These scripts execute whenever users view the compromised pages, potentially stealing credentials or performing unauthorized actions. All WordPress sites using this plugin up to version 1.5.5 are affected.

💻 Affected Systems

Products:
  • WordPress Marketplace Items plugin
Versions: All versions up to and including 1.5.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Contributor-level access or higher needed for exploitation.

⚠️ 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 could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with contributor accounts inject malicious scripts to steal user session cookies or credentials, potentially compromising user accounts.

🟢

If Mitigated

With proper user access controls and content security policies, impact is limited to isolated script execution without broader system compromise.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is technically simple once attacker has contributor-level credentials.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.5.6 or later

Vendor Advisory: https://wordpress.org/plugins/marketplace-items/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Marketplace Items' and click 'Update Now'. 4. Verify plugin version is 1.5.6 or higher.

🔧 Temporary Workarounds

Disable plugin temporarily

all

Deactivate the Marketplace Items plugin until patched

wp plugin deactivate marketplace-items

Implement Content Security Policy

all

Add CSP headers to restrict script execution

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

  • Restrict user roles: Remove contributor access or implement strict user role management
  • Monitor for suspicious content: Regularly review pages and posts for unexpected scripts or content

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for Marketplace Items version 1.5.5 or earlier

Check Version:

wp plugin get marketplace-items --field=version

Verify Fix Applied:

Verify plugin version is 1.5.6 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual post/page edits by contributor accounts
  • Suspicious script tags in post/page content
  • Multiple failed login attempts followed by successful contributor login

Network Indicators:

  • Unexpected external script loads from WordPress pages
  • Suspicious outbound connections after page views

SIEM Query:

source="wordpress.log" AND ("[marketplace]" OR "shortcode") AND ("script" OR "onclick" OR "javascript:")

🔗 References

📤 Share & Export