CVE-2025-10130
📋 TL;DR
The Layers WordPress plugin has a stored XSS vulnerability in its 'webcam' 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 Layers plugin version 0.5 or earlier are affected.
💻 Affected Systems
- WordPress Layers 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, take over the WordPress site, deface content, or redirect visitors to malicious sites, potentially leading to complete site compromise and data theft.
Likely Case
Attackers with contributor access inject malicious JavaScript to steal session cookies or perform actions as other users, potentially escalating privileges or compromising user accounts.
If Mitigated
With proper user role management and input validation, the impact is limited to low-privilege user account compromise rather than full site takeover.
🎯 Exploit Status
Requires authenticated access with contributor privileges or higher. Exploitation involves injecting malicious attributes into the webcam shortcode.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Version after 0.5
Vendor Advisory: https://wordpress.org/plugins/layers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Layers plugin and click 'Update Now' if available. 4. If no update is available, deactivate and delete the plugin immediately.
🔧 Temporary Workarounds
Disable webcam shortcode
WordPressRemove or disable the vulnerable webcam shortcode functionality
Add to theme's functions.php: remove_shortcode('webcam');
Restrict user roles
WordPressLimit contributor-level access to trusted users only
🧯 If You Can't Patch
- Immediately deactivate and remove the Layers plugin from all WordPress installations
- Implement strict user role management and audit all users with contributor access or higher
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for Layers plugin version 0.5 or earlier
Check Version:
wp plugin list --name=layers --field=version
Verify Fix Applied:
Verify Layers plugin version is higher than 0.5 or plugin is completely removed
📡 Detection & Monitoring
Log Indicators:
- Unusual post/page edits by contributor-level users
- Suspicious shortcode modifications in content
Network Indicators:
- Unexpected JavaScript loading from WordPress pages
- Suspicious outbound connections from admin pages
SIEM Query:
source="wordpress" AND (event="post_modified" OR event="plugin_activated") AND plugin="layers"