Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13892: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mountaingrafix MG AdvancedOptions

0
Medium
VulnerabilityCVE-2025-13892cvecve-2025-13892cwe-79
Published: Fri Jan 09 2026 (01/09/2026, 11:15:33 UTC)
Source: CVE Database V5
Vendor/Project: mountaingrafix
Product: MG AdvancedOptions

Description

The MG AdvancedOptions plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 1.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

AI-Powered Analysis

AILast updated: 01/09/2026, 11:55:17 UTC

Technical Analysis

CVE-2025-13892 identifies a reflected Cross-Site Scripting (XSS) vulnerability in the MG AdvancedOptions plugin for WordPress, developed by mountaingrafix. This vulnerability exists in all versions up to and including 1.2. The root cause is the improper neutralization of input during web page generation, specifically through the unsanitized use of the $_SERVER['PHP_SELF'] variable. When a user accesses a page with a specially crafted URL, the plugin reflects this input back into the page without adequate sanitization or output escaping, enabling an attacker to inject arbitrary JavaScript code. Because the vulnerability is reflected, exploitation requires social engineering to convince a user to click a malicious link. The CVSS 3.1 base score is 6.1, indicating a medium severity level, with the vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. This means the attack can be launched remotely over the network with low attack complexity, no privileges required, but user interaction is necessary. The scope is changed, indicating the vulnerability can affect resources beyond the vulnerable component. The impact affects confidentiality and integrity by potentially stealing cookies, session tokens, or performing actions on behalf of the user, but does not affect availability. No known exploits have been reported in the wild, and no official patches have been released as of the publication date. The vulnerability is categorized under CWE-79, a common and well-understood XSS weakness. Given the widespread use of WordPress in Europe and the availability of this plugin, the threat is relevant to organizations running websites with this plugin installed.

Potential Impact

For European organizations, the primary impact of CVE-2025-13892 is the risk of client-side script injection leading to session hijacking, credential theft, or unauthorized actions performed in the context of an authenticated user. This can compromise user data confidentiality and integrity, damage organizational reputation, and potentially lead to further exploitation such as phishing or malware delivery. Public-facing WordPress sites using the MG AdvancedOptions plugin are particularly vulnerable, especially those handling sensitive user information or providing critical services. While availability is not directly impacted, the indirect consequences of data breaches or loss of user trust can be significant. The requirement for user interaction limits mass exploitation but targeted attacks against employees or customers remain a concern. Additionally, the reflected nature of the XSS can be leveraged in phishing campaigns, increasing the attack surface. Organizations in sectors such as e-commerce, government, and media with high web presence are at elevated risk.

Mitigation Recommendations

1. Immediate mitigation should focus on disabling or removing the MG AdvancedOptions plugin until an official patch is released. 2. Implement web application firewall (WAF) rules to detect and block suspicious requests containing malicious payloads targeting the $_SERVER['PHP_SELF'] parameter. 3. Educate users and employees about the risks of clicking on unsolicited or suspicious links, especially those that appear to come from trusted sources. 4. For organizations with development capabilities, apply custom input validation and output encoding on the affected parameter to neutralize malicious scripts. 5. Monitor web server logs for unusual URL patterns indicative of attempted exploitation. 6. Keep WordPress core and all plugins updated regularly to reduce exposure to known vulnerabilities. 7. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. 8. Conduct periodic security assessments and penetration testing focusing on web application vulnerabilities including XSS. These measures collectively reduce the risk of exploitation and limit the impact if an attack occurs.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-12-02T15:36:54.355Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6960e8e3a48af7d8cea187a8

Added to database: 1/9/2026, 11:39:15 AM

Last enriched: 1/9/2026, 11:55:17 AM

Last updated: 1/10/2026, 10:16:39 PM

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats