CVE-2025-58843

7.1 HIGH

📋 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

Products:
  • WordPress Auto Last Youtube Video plugin
Versions: n/a through 1.0.7
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the vulnerable plugin enabled. Requires attacker to trick authenticated users into visiting malicious pages.

⚠️ 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 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

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

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/auto-last-youtube-video/vulnerability/wordpress-auto-last-youtube-video-plugin-1-0-7-cross-site-request-forgery-csrf-vulnerability?_s_id=cve

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

all

Temporarily deactivate the Auto Last Youtube Video plugin until patched

wp plugin deactivate auto-last-youtube-video

Implement CSRF tokens manually

all

Add 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=")

🔗 References

📤 Share & Export