CVE-2025-4220
📋 TL;DR
The Xavin's List Subpages WordPress plugin has a stored XSS vulnerability in its 'xls' shortcode that allows authenticated attackers with contributor-level access or higher to inject malicious scripts into pages. These scripts execute when users view the compromised pages, potentially stealing credentials or performing unauthorized actions. All WordPress sites using this plugin version 1.3 or earlier are affected.
💻 Affected Systems
- Xavin's List Subpages WordPress 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 could steal administrator 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, potentially escalating privileges.
If Mitigated
With proper user access controls and content security policies, impact is limited to defacement or minor data leakage from affected pages.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once an attacker has contributor privileges.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Check WordPress plugin repository for latest version
Vendor Advisory: https://plugins.trac.wordpress.org/browser/xavins-list-subpages/
Restart Required: No
Instructions:
1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'Xavin's List Subpages'
4. Click 'Update Now' if available
5. If no update available, deactivate and delete the plugin
🔧 Temporary Workarounds
Remove Contributor Access
allTemporarily remove contributor-level access from untrusted users
Disable Plugin
linuxDeactivate the vulnerable plugin until patched
wp plugin deactivate xavins-list-subpages
🧯 If You Can't Patch
- Remove the 'xls' shortcode from all posts and pages
- Implement Content Security Policy headers to restrict script execution
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins for 'Xavin's List Subpages' version 1.3 or earlier
Check Version:
wp plugin list --name='xavins-list-subpages' --field=version
Verify Fix Applied:
Verify plugin version is higher than 1.3 or plugin is removed
📡 Detection & Monitoring
Log Indicators:
- Unusual post/page edits by contributor-level users
- Suspicious script tags in post/page content containing 'xls' shortcode
Network Indicators:
- Unexpected external script loads from WordPress pages
SIEM Query:
source="wordpress.log" AND ("xls shortcode" OR "xavins-list-subpages") AND ("script" OR "onclick" OR "javascript:")