CVE-2025-28913

4.3 MEDIUM

📋 TL;DR

This CSRF vulnerability in the WP Add Active Class To Menu Item WordPress plugin allows attackers to trick authenticated administrators into performing unintended actions. It affects all WordPress sites using this plugin version 1.0 or earlier. The vulnerability enables attackers to modify plugin settings without the admin's knowledge.

💻 Affected Systems

Products:
  • WP Add Active Class To Menu Item WordPress Plugin
Versions: 1.0 and earlier
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin activated and an authenticated admin user.

⚠️ 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 modify plugin settings to inject malicious JavaScript, potentially leading to site defacement, data theft, or further compromise of the WordPress installation.

🟠

Likely Case

Attackers trick administrators into changing plugin settings, potentially breaking menu functionality or enabling other attack vectors.

🟢

If Mitigated

With proper CSRF protections and user awareness, the risk is minimal as it requires admin interaction.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires tricking an authenticated admin into clicking a malicious link or visiting a crafted page.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.1 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wp-add-active-class-to-menu-item/vulnerability/wordpress-wp-add-active-class-to-menu-item-plugin-1-0-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 'WP Add Active Class To Menu Item'. 4. Click 'Update Now' if available. 5. Alternatively, delete and reinstall latest version from WordPress repository.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched.

wp plugin deactivate wp-add-active-class-to-menu-item

Add CSRF Protection

all

Implement custom CSRF tokens in WordPress admin forms.

Add wp_nonce_field() to plugin admin forms and verify with wp_verify_nonce()

🧯 If You Can't Patch

  • Remove the plugin entirely if not needed
  • Implement web application firewall with CSRF protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'WP Add Active Class To Menu Item' version 1.0 or earlier.

Check Version:

wp plugin get wp-add-active-class-to-menu-item --field=version

Verify Fix Applied:

Verify plugin version is 1.0.1 or later in WordPress admin plugins page.

📡 Detection & Monitoring

Log Indicators:

  • Unexpected POST requests to wp-admin/admin.php?page=wp-add-active-class-to-menu-item without referrer validation
  • Admin users reporting unexpected plugin setting changes

Network Indicators:

  • CSRF attack patterns in web application firewall logs
  • Suspicious referrer headers in admin requests

SIEM Query:

source="wordpress.log" AND "wp-add-active-class-to-menu-item" AND "POST" AND NOT referer="*wp-admin*"

🔗 References

📤 Share & Export