CVE-2025-12649

6.4 MEDIUM

📋 TL;DR

The SortTable Post WordPress plugin has a stored XSS vulnerability that allows authenticated attackers with contributor-level access or higher to inject malicious scripts into web pages. These scripts execute when users interact with the affected pages via mouse actions. This affects all WordPress sites using the plugin up to version 4.2.

💻 Affected Systems

Products:
  • WordPress SortTable Post plugin
Versions: All versions up to and including 4.2
Operating Systems: All
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 admin credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with contributor access inject malicious scripts to steal user session cookies or credentials from visitors.

🟢

If Mitigated

With proper input validation and output escaping, no script injection would occur despite malicious input attempts.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is straightforward once authenticated. Mouse interaction triggers execution.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.3 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3200000/sorttable-post/trunk/sorttablepost.php

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find SortTable Post plugin. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin, then install fresh version from WordPress repository.

🔧 Temporary Workarounds

Disable plugin

all

Temporarily deactivate the SortTable Post plugin until patched

wp plugin deactivate sorttable-post

Restrict user roles

all

Limit contributor-level access to trusted users only

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads in POST parameters
  • Monitor for suspicious shortcode usage and user-generated content containing script tags

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for SortTable Post version ≤4.2

Check Version:

wp plugin get sorttable-post --field=version

Verify Fix Applied:

Verify plugin version is 4.3 or higher and test shortcode functionality with malicious input

📡 Detection & Monitoring

Log Indicators:

  • Unusual shortcode usage patterns
  • POST requests containing script tags in 'id' parameter
  • Multiple failed login attempts followed by contributor account activity

Network Indicators:

  • Outbound connections to suspicious domains after page interaction
  • Unexpected JavaScript loading from WordPress pages

SIEM Query:

source="wordpress.log" AND ("sorttablepost" OR "id parameter") AND ("script" OR "javascript:" OR "onmouse")

🔗 References

📤 Share & Export