CVE-2025-13892

6.1 MEDIUM

📋 TL;DR

The MG AdvancedOptions WordPress plugin contains a reflected cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts via crafted URLs. When users click on malicious links, attackers can steal session cookies, redirect users, or perform actions on their behalf. All WordPress sites using this plugin version 1.2 or earlier are affected.

💻 Affected Systems

Products:
  • MG AdvancedOptions WordPress Plugin
Versions: All versions up to and including 1.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with plugin activated. Vulnerability exists in PHP_SELF variable handling.

⚠️ 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 steal administrator session cookies, gain full control of WordPress site, install backdoors, deface website, or pivot to internal network.

🟠

Likely Case

Attackers steal user session cookies, redirect users to phishing sites, or perform limited actions within the user's permissions.

🟢

If Mitigated

Attack blocked by web application firewall, content security policy, or modern browser XSS protections.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires user interaction (clicking malicious link). Proof of concept available in public references.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.3 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/mg-advancedoptions/trunk/mg-advancedoptions/MG_AdvancedOptions.php

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find MG AdvancedOptions plugin. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin immediately.

🔧 Temporary Workarounds

Content Security Policy

all

Implement strict Content Security Policy headers to block inline scripts and restrict script sources.

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to nginx config: add_header Content-Security-Policy "default-src 'self'; script-src 'self'";

Web Application Firewall

all

Deploy WAF rules to detect and block XSS payloads in URL parameters.

ModSecurity rule: SecRule ARGS "<script" "id:1001,phase:2,deny,status:403,msg:'XSS Attack Detected'"

🧯 If You Can't Patch

  • Deactivate and remove the MG AdvancedOptions plugin immediately
  • Implement strict input validation and output encoding for all user-controlled data

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for MG AdvancedOptions version 1.2 or earlier.

Check Version:

wp plugin list --name=mg-advancedoptions --field=version (if WP-CLI installed)

Verify Fix Applied:

Verify plugin version is 1.3 or later, or confirm plugin is deactivated/removed.

📡 Detection & Monitoring

Log Indicators:

  • Unusual long URLs with script tags in access logs
  • Multiple 403 errors from WAF blocking attempts
  • Referrer headers containing suspicious script patterns

Network Indicators:

  • HTTP requests with script tags in URL parameters
  • Unusual redirect patterns from plugin pages

SIEM Query:

source="web_access.log" AND (url="*<script*" OR url="*javascript:*" OR url="*onload=*" OR url="*onerror=*")

🔗 References

📤 Share & Export