CVE-2025-58843
📋 TL;DR
A Cross-Site Request Forgery (CSRF) vulnerability in the WordPress Auto Last Youtube Video plugin allows attackers to perform stored cross-site scripting (XSS) attacks. This affects WordPress sites using the plugin from unknown versions through 1.0.7. Attackers can inject malicious scripts that execute when users visit compromised pages.
💻 Affected Systems
- WordPress Auto Last Youtube Video 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 inject malicious JavaScript that steals admin credentials, redirects users to phishing sites, or takes over administrative accounts to compromise the entire WordPress site.
Likely Case
Attackers inject malicious scripts that display unwanted content, redirect users to advertising sites, or steal session cookies from logged-in users.
If Mitigated
With proper CSRF protections and content security policies, the attack surface is reduced, though the vulnerable code remains present.
🎯 Exploit Status
Exploitation requires social engineering to trick authenticated users into clicking malicious links. CSRF to XSS chain is well-documented.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.0.8 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Auto Last Youtube Video'. 4. Click 'Update Now' if available. 5. If no update appears, deactivate and delete the plugin, then install version 1.0.8+ from WordPress repository.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily deactivate the Auto Last Youtube Video plugin until patched
wp plugin deactivate auto-last-youtube-video
Implement CSRF tokens manually
allAdd nonce verification to plugin forms if custom modifications are possible
Add wp_nonce_field() and wp_verify_nonce() calls to plugin PHP files
🧯 If You Can't Patch
- Disable the Auto Last Youtube Video plugin completely
- Implement Content Security Policy (CSP) headers to restrict script execution
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin > Plugins > Installed Plugins for 'Auto Last Youtube Video' version 1.0.7 or earlier
Check Version:
wp plugin get auto-last-youtube-video --field=version
Verify Fix Applied:
Verify plugin version is 1.0.8 or higher in WordPress plugins list
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to wp-admin/admin-ajax.php or plugin-specific endpoints
- Multiple failed nonce verification attempts
Network Indicators:
- Requests containing malicious script payloads in parameters
- Cross-origin requests to plugin endpoints without referrer validation
SIEM Query:
source="wordpress.log" AND ("auto-last-youtube-video" OR "admin-ajax.php") AND (POST AND NOT "_wpnonce=")