CVE-2025-12366
📋 TL;DR
This vulnerability allows authenticated WordPress users with Author-level permissions or higher to replace media files belonging to other users, including administrators. It affects the Page Builder: Pagelayer plugin due to missing validation on user-controlled parameters. Attackers can overwrite legitimate media files with malicious content.
💻 Affected Systems
- Page Builder: Pagelayer - Drag and Drop website builder plugin for WordPress
⚠️ 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
Administrator media files replaced with malicious content leading to site defacement, malware distribution, or credential theft via poisoned downloads.
Likely Case
Author-level users replace other users' media files causing content disruption, minor site defacement, or SEO damage.
If Mitigated
Limited to media file replacement only, no code execution or privilege escalation beyond existing user roles.
🎯 Exploit Status
Exploitation requires authenticated access with Author privileges or higher. The vulnerability is straightforward to exploit once authenticated.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.0.6 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Page Builder: Pagelayer' and click 'Update Now'. 4. Verify update to version 2.0.6 or higher.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily deactivate the Pagelayer plugin until patched
wp plugin deactivate pagelayer
Restrict user roles
allRemove Author and higher roles from untrusted users
wp user update USERNAME --role=subscriber
🧯 If You Can't Patch
- Implement strict user role management and audit all users with Author privileges or higher
- Enable WordPress file integrity monitoring and audit media file changes regularly
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Page Builder: Pagelayer → Version. If version is 2.0.5 or lower, system is vulnerable.
Check Version:
wp plugin get pagelayer --field=version
Verify Fix Applied:
After update, verify plugin version shows 2.0.6 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual media file replacement activity in WordPress logs
- Multiple media file modifications by single user in short timeframe
Network Indicators:
- POST requests to /wp-admin/admin-ajax.php with pagelayer_replace_page action
SIEM Query:
source="wordpress.log" action="pagelayer_replace_page" AND user_role IN ("author","editor","administrator")
🔗 References
- https://plugins.trac.wordpress.org/browser/pagelayer/tags/2.0.4/main/replace-media.php#L31
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3394407%40pagelayer%2Ftrunk&old=3384061%40pagelayer%2Ftrunk&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2216d82c-29ae-4355-8118-6ebc49726c12?source=cve