CVE-2025-62108

5.4 MEDIUM

📋 TL;DR

This CVE describes a Missing Authorization vulnerability in the SaifuMak Add Custom Codes WordPress plugin that allows attackers to bypass access controls. It affects all versions up to 4.80, potentially enabling unauthorized users to modify custom code settings on WordPress sites using this plugin.

💻 Affected Systems

Products:
  • SaifuMak Add Custom Codes WordPress Plugin
Versions: All versions up to and including 4.80
Operating Systems: All platforms running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the Add Custom Codes plugin active. WordPress multisite installations may have different impact levels.

⚠️ 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 inject malicious JavaScript or PHP code into WordPress sites, leading to complete site compromise, data theft, or malware distribution to visitors.

🟠

Likely Case

Unauthorized users modify custom CSS/JavaScript settings, causing site defacement, SEO spam injection, or limited functionality disruption.

🟢

If Mitigated

With proper WordPress hardening and role-based access controls, impact is limited to authorized user accounts only.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires some WordPress access but not administrative privileges. The vulnerability is publicly documented with technical details available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.81 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/add-custom-codes/vulnerability/wordpress-add-custom-codes-plugin-4-80-broken-access-control-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Add Custom Codes' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install fresh version 4.81+ from WordPress repository.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily deactivate the Add Custom Codes plugin until patched version can be installed

wp plugin deactivate add-custom-codes

Restrict User Roles

all

Limit WordPress user accounts to only necessary roles and review all user permissions

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block unauthorized POST requests to plugin endpoints
  • Enable WordPress security plugins that monitor for unauthorized file modifications and access control violations

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Add Custom Codes. If version is 4.80 or lower, you are vulnerable.

Check Version:

wp plugin get add-custom-codes --field=version

Verify Fix Applied:

After updating, verify plugin version shows 4.81 or higher in WordPress plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unauthorized POST requests to /wp-admin/admin-ajax.php with action=add_custom_codes_save
  • Multiple failed authorization attempts from single IP
  • Unexpected modifications to wp-content/plugins/add-custom-codes/ files

Network Indicators:

  • HTTP POST requests to WordPress admin endpoints from non-admin user agents
  • Unusual traffic patterns to plugin-specific AJAX handlers

SIEM Query:

source="wordpress.log" AND (uri_path="/wp-admin/admin-ajax.php" AND post_data CONTAINS "add_custom_codes") AND user_role!="administrator"

🔗 References

📤 Share & Export