CVE-2025-11765
📋 TL;DR
The Stock Tools WordPress plugin has a stored XSS vulnerability in all versions up to 1.1. Authenticated attackers with contributor-level access or higher can inject malicious scripts via shortcode attributes, which execute when users view affected pages. This affects all WordPress sites using the vulnerable plugin versions.
💻 Affected Systems
- WordPress Stock Tools plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers steal admin credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers inject malicious scripts to steal user session cookies, display unwanted content, or redirect users to phishing pages.
If Mitigated
With proper input validation and output escaping, the vulnerability is prevented, though plugin updates are still required.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once access is obtained.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.2 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/stock-tools/tags/1.2/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Stock Tools plugin. 4. Click 'Update Now' if available. 5. Alternatively, download version 1.2+ from WordPress repository and replace plugin files.
🔧 Temporary Workarounds
Disable plugin
allTemporarily disable the Stock Tools plugin until patched
wp plugin deactivate stock-tools
Restrict user roles
allLimit contributor-level access to trusted users only
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block XSS payloads
- Apply content security policy (CSP) headers to restrict script execution
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Stock Tools version number. If version is 1.1 or lower, you are vulnerable.
Check Version:
wp plugin get stock-tools --field=version
Verify Fix Applied:
Verify Stock Tools plugin version is 1.2 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress admin-ajax.php with stock-tools parameters
- Suspicious shortcode attributes in post/page content
Network Indicators:
- Malicious script injections in HTTP responses containing 'stock-tools' references
SIEM Query:
source="wordpress.log" AND "stock-tools" AND ("image_height" OR "image_width") AND ("<script>" OR "javascript:")