CVE-2025-11765

6.4 MEDIUM

📋 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

Products:
  • WordPress Stock Tools plugin
Versions: All versions up to and including 1.1
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Stock Tools plugin enabled. Contributor-level or higher user accounts 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 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

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

all

Temporarily disable the Stock Tools plugin until patched

wp plugin deactivate stock-tools

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
  • 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:")

🔗 References

📤 Share & Export