CVE-2025-24721

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the Easy YouTube Gallery WordPress plugin allows attackers to inject malicious scripts into web pages. When exploited, these scripts execute in victims' browsers, potentially stealing session cookies or performing actions on their behalf. All WordPress sites using Easy YouTube Gallery versions up to 1.0.4 are affected.

💻 Affected Systems

Products:
  • Easy YouTube Gallery WordPress Plugin
Versions: n/a through 1.0.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with the vulnerable plugin versions are affected regardless of configuration.

⚠️ 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 steal administrator session cookies, take over WordPress sites, install backdoors, deface websites, or redirect visitors to malicious sites.

🟠

Likely Case

Attackers inject malicious JavaScript that steals user session cookies or credentials, potentially compromising user accounts and enabling further attacks.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users' browsers, preventing execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires contributor-level access or higher to inject malicious scripts, but once stored, the XSS executes for all users viewing the affected page.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/easy-youtube-gallery/vulnerability/wordpress-easy-youtube-gallery-plugin-1-0-4-stored-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find Easy YouTube Gallery
4. Click 'Update Now' if update is available
5. Alternatively, download version 1.0.5+ from WordPress repository and manually update

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the Easy YouTube Gallery plugin until patched

wp plugin deactivate easy-youtube-gallery

Restrict User Roles

all

Limit plugin access to trusted administrators only

Use WordPress role management plugins or custom code to restrict plugin access

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Enable Content Security Policy (CSP) headers to restrict script execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Easy YouTube Gallery → Version number. If version is 1.0.4 or earlier, you are vulnerable.

Check Version:

wp plugin get easy-youtube-gallery --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.0.5 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • Suspicious JavaScript in plugin-related database entries
  • Multiple failed authentication attempts followed by successful contributor/admin login

Network Indicators:

  • Outbound connections to suspicious domains from your WordPress site
  • Unexpected JavaScript loading from your domain

SIEM Query:

source="wordpress.log" AND ("easy-youtube-gallery" OR "youtube_gallery") AND (POST OR "wp-admin/admin-ajax.php")

🔗 References

📤 Share & Export