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

Machine-generated threat intelligence

AILast updated: 02/27/2026, 10:28:20 UTC

Technical Analysis

The vulnerability identified as CVE-2025-13892 affects the MG AdvancedOptions plugin for WordPress, specifically all versions up to and including 1.2. It is a reflected Cross-Site Scripting (XSS) vulnerability categorized under CWE-79, caused by improper neutralization of input during web page generation. The root cause is insufficient sanitization and output escaping of the $_SERVER['PHP_SELF'] variable, which is used in the plugin's code to generate web pages. An attacker can craft a malicious URL that includes executable JavaScript code embedded in the PHP_SELF server variable. When a user clicks this link, the injected script executes in their browser context, potentially allowing the attacker to steal cookies, session tokens, or perform actions on behalf of the user. The vulnerability does not require authentication (PR:N) but does require user interaction (UI:R) such as clicking a malicious link. The CVSS v3.1 base score is 6.1, indicating a medium severity with a vector of AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, meaning the attack can be launched remotely with low complexity, no privileges, but requires user interaction and affects confidentiality and integrity with a scope change. No patches or fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability was published on January 9, 2026, and reserved on December 2, 2025. This plugin is used within WordPress environments, which are widely deployed globally, making the vulnerability relevant to many organizations using this plugin for advanced options management.

Potential Impact

The impact of CVE-2025-13892 is primarily on the confidentiality and integrity of affected systems. Successful exploitation allows attackers to execute arbitrary scripts in the context of a victim's browser, potentially leading to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of the user. Although availability is not directly impacted, the breach of confidentiality and integrity can lead to further attacks such as privilege escalation or data exfiltration. Since the vulnerability requires user interaction, the scope is somewhat limited, but phishing or social engineering campaigns can increase the risk. Organizations running WordPress sites with the MG AdvancedOptions plugin are at risk, especially those with high-value user accounts or sensitive data. The widespread use of WordPress and the plugin's presence in multiple countries increases the potential attack surface. The absence of known exploits in the wild suggests limited current exploitation but also highlights the importance of proactive mitigation before attackers develop weaponized payloads.

Mitigation Recommendations

To mitigate CVE-2025-13892, organizations should first check for updates or patches from mountaingrafix and apply them immediately once available. In the absence of official patches, administrators can implement the following specific measures: 1) Manually sanitize and escape the $_SERVER['PHP_SELF'] variable in the plugin's code to prevent script injection, using functions like htmlspecialchars() with ENT_QUOTES and UTF-8 encoding. 2) Deploy a strict Content Security Policy (CSP) that restricts the execution of inline scripts and limits sources of executable code to trusted domains. 3) Use Web Application Firewalls (WAFs) with rules to detect and block reflected XSS attack patterns targeting the affected plugin endpoints. 4) Educate users and administrators about the risks of clicking untrusted links and implement email filtering to reduce phishing attempts. 5) Regularly audit WordPress plugins for vulnerabilities and remove or replace plugins that are no longer maintained or have known security issues. 6) Monitor web server logs for suspicious requests containing script payloads in URL parameters or PHP_SELF variables. These targeted mitigations go beyond generic advice by focusing on the specific vulnerable variable and plugin context.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 2/27/2026, 10:28:20 AM

Last updated: 3/26/2026, 4:26:24 AM

Views: 47

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 for AI refresh and higher limits.

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

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses