CVE-2025-12366

4.3 MEDIUM

📋 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

Products:
  • Page Builder: Pagelayer - Drag and Drop website builder plugin for WordPress
Versions: All versions up to and including 2.0.5
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version and at least one user with Author role or higher.

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

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.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

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

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

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3394407%40pagelayer%2Ftrunk&old=3384061%40pagelayer%2Ftrunk&sfp_email=&sfph_mail=

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

all

Temporarily deactivate the Pagelayer plugin until patched

wp plugin deactivate pagelayer

Restrict user roles

all

Remove 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

📤 Share & Export