CVE-2024-12592

6.4 MEDIUM

📋 TL;DR

The Sellsy 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 visit the compromised pages, potentially stealing session cookies or redirecting visitors to malicious sites. All WordPress sites using Sellsy plugin versions up to 2.3.3 are affected.

💻 Affected Systems

Products:
  • Sellsy WordPress Plugin
Versions: All versions up to and including 2.3.3
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Sellsy plugin enabled and at least one user with contributor-level access or higher.

⚠️ 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 session cookies, take over the WordPress site, install backdoors, deface the website, or redirect visitors to phishing/malware sites.

🟠

Likely Case

Attackers with contributor accounts inject malicious JavaScript to steal user session cookies or redirect visitors to malicious sites, potentially compromising user accounts and data.

🟢

If Mitigated

With proper access controls and input validation, the impact is limited to potential defacement or minor script injection on specific pages.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access (contributor or higher). The vulnerability is in the 'testSellsy' shortcode attribute handling.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.3.4 or later

Vendor Advisory: https://wordpress.org/plugins/sellsy/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Sellsy plugin and click 'Update Now'. 4. Verify plugin version is 2.3.4 or higher.

🔧 Temporary Workarounds

Disable Sellsy Plugin

all

Temporarily disable the vulnerable plugin until patching is possible

wp plugin deactivate sellsy

Restrict User Roles

all

Remove contributor-level access from untrusted users and review existing contributor accounts

🧯 If You Can't Patch

  • Remove contributor and author roles from all untrusted users
  • Implement web application firewall rules to block XSS payloads in POST requests

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Sellsy version 2.3.3 or lower

Check Version:

wp plugin get sellsy --field=version

Verify Fix Applied:

Verify Sellsy plugin version is 2.3.4 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php with 'testSellsy' parameters
  • Multiple failed login attempts followed by successful contributor-level login

Network Indicators:

  • JavaScript payloads in HTTP POST parameters
  • Unusual outbound connections from WordPress site after page visits

SIEM Query:

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

🔗 References

📤 Share & Export