
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-13892 is a Reflected Cross-Site Scripting (XSS) vulnerability in the MG AdvancedOptions plugin for WordPress, affecting all versions up to and including 1.2. The flaw arises from the unsanitized use of the $_SERVER['PHP_SELF'] variable, allowing unauthenticated attackers to inject arbitrary web scripts that execute in a victim's browser when they are tricked into clicking a malicious link. It was published on January 9, 2026, with Wordfence as the reporting CNA. The vulnerability carries a CVSS v3.1 base score of 6.1 (Medium) (Wordfence).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically due to insufficient input sanitization and output escaping of the $_SERVER['PHP_SELF'] superglobal variable in the plugin's PHP code. The PHP_SELF variable reflects the current script's URL path and can be manipulated by appending malicious content to the URL, which is then echoed back into the page without proper escaping. The vulnerable code is located at lines 58 and 96 of MG_AdvancedOptions.php in the plugin's trunk. Exploitation requires no authentication and no special privileges, but does require user interaction — specifically, a victim must click a crafted link (Wordfence, WordPress Trac).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser session on the affected WordPress site. This can lead to session cookie theft, credential harvesting, defacement of page content as seen by the victim, or redirection to malicious sites. The scope is changed (affecting resources beyond the vulnerable component), with low confidentiality and low integrity impact, and no availability impact (Wordfence).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-13892. The EPSS score is approximately 0.061%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified (Wordfence).
wp-content/plugins/mg-advancedoptions/readme.txt.PHP_SELF variable — for example: https://target.com/wp-admin/options-general.php/<script>alert(document.cookie)</script>.PHP_SELF value is reflected into the HTML response, causing the injected script to execute in the victim's browser./<script>, /%3Cscript%3E) targeting pages that load the MG AdvancedOptions plugin.MG_AdvancedOptions.php with unexpected input values in the PHP_SELF context.As of the disclosure date, no patched version of the MG AdvancedOptions plugin beyond 1.2 has been confirmed as available. Site administrators should deactivate and remove the MG AdvancedOptions plugin until a patched version is released. As a general mitigation, a Web Application Firewall (WAF) such as Wordfence can help detect and block reflected XSS payloads targeting this plugin. Users should also educate staff about phishing links and avoid clicking unsolicited URLs pointing to their WordPress admin panel (Wordfence).
The vulnerability was reported by Wordfence and received standard coverage in vulnerability aggregation platforms and security feeds. No notable researcher commentary, vendor statements beyond the Wordfence advisory, or significant social media discussion has been identified for this CVE.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."