MEDIUM 6.3

CVE-2026-58518: Mediawiki RedirectManager Extension CSRF Vulnerability – Analysis & Patch Guidance

A cross-site request forgery (CSRF) vulnerability exists in the Mediawiki RedirectManager Extension. This flaw allows an attacker to trick a logged-in user into performing unintended actions on a Mediawiki instance without the user's knowledge or consent. The vulnerability affects versions before 1.3.3 and can result in unauthorized changes to redirects or other modifications depending on the attacker's objectives and the target user's permissions.

Source data · NVD / CISA · public domain

CVSS
3.1 · 6.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Weaknesses (CWE)
CWE-352
Affected products
1 configuration(s)
Published / Modified
2026-07-01 / 2026-07-09

NVD description (verbatim)

Cross-Site request forgery (CSRF) vulnerability in The Wikimedia Foundation Mediawiki - RedirectManager Extension allows Cross Site Request Forgery. This issue affects Mediawiki - RedirectManager Extension: from * before 1.3.3.

3 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The RedirectManager Extension for Mediawiki contains a CSRF vulnerability (CWE-352) that fails to properly validate the origin of state-changing requests. An attacker can craft a malicious webpage or email containing a forged request that, when accessed by an authenticated Mediawiki user, executes actions on the target wiki instance without proper anti-CSRF token validation. The vulnerability requires user interaction (the victim must visit the attacker-controlled page while logged into the vulnerable Mediawiki instance) but does not require authentication from the attacker's perspective. The network attack vector and low attack complexity indicate the flaw is straightforward to exploit once a victim is lured to the malicious content.

Business impact

Organizations running Mediawiki with the RedirectManager Extension may experience uncontrolled modification of redirects, which could be leveraged to conduct phishing attacks, deface content, or redirect users to malicious external sites. If the affected user possesses administrative privileges, the impact escalates significantly—attackers could modify wiki configuration, user permissions, or content at scale. For public wikis or those handling sensitive organizational knowledge, this represents a reputational and operational risk. The attack requires social engineering to succeed, making staff awareness and technical controls equally important.

Affected systems

The vulnerability specifically affects Mediawiki installations with the RedirectManager Extension versions prior to 1.3.3. Any Mediawiki deployment using this extension without the patch is vulnerable. The scope is limited to the extension itself; the core Mediawiki application is not affected. Organizations should audit their extension inventory and version control to identify affected instances.

Exploitability

The vulnerability has a CVSS 3.1 base score of 6.3 (MEDIUM severity) with network accessibility and low attack complexity, making it relatively straightforward to exploit. However, it is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, suggesting active exploitation in the wild has not been documented at the time of publication. Success depends on user interaction—an attacker must socially engineer a victim into visiting a malicious page while the victim maintains an active authenticated session on the target Mediawiki. The attack does not require special privileges or advanced technical capabilities beyond basic web application exploitation techniques.

Remediation

Upgrade the RedirectManager Extension to version 1.3.3 or later. Organizations should verify the current version in their Mediawiki installation and prioritize patching given the ease of exploitation and potential for abuse by authenticated attackers or through social engineering. Apply the patch during a maintenance window to minimize disruption.

Patch guidance

1. Identify all Mediawiki instances running the RedirectManager Extension by reviewing LocalSettings.php or your extension management system. 2. Back up your Mediawiki database and configuration before upgrading. 3. Update the RedirectManager Extension to version 1.3.3 or the latest available version from the official Wikimedia repository. 4. Verify the upgrade by checking the extension version in Special:Version within the Mediawiki admin panel. 5. Clear any cached content and test redirect functionality in a non-production environment first if possible. 6. Document the patch date and version for compliance and audit purposes.

Detection guidance

Monitor your Mediawiki logs for unusual redirect modifications, especially those originating from external referrers or anomalous user agents. Look for POST requests to redirect-related endpoints lacking proper Referrer headers or originating from unfamiliar domains. Implement intrusion detection rules that flag requests to sensitive Mediawiki actions (edit, redirect creation/modification) without expected anti-CSRF tokens. Web application firewalls can be configured to require strict referer validation for state-changing requests. Consider enabling detailed audit logging on redirect changes to correlate modifications with user sessions and IP addresses.

Why prioritize this

While the CVSS score is MEDIUM (6.3), this vulnerability warrants prioritization because: (1) the attack vector is network-accessible with low complexity, making it practical to exploit; (2) it can lead to unauthorized content modification and potential phishing attacks; (3) patches are readily available; and (4) remediation is straightforward for organizations maintaining their extensions. The absence from the KEV catalog suggests a window of opportunity to patch before widespread exploitation develops.

Risk score, explained

The CVSS 3.1 score of 6.3 reflects a MEDIUM-severity impact. The vector (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L) indicates network accessibility, low attack complexity, no attacker privileges required, user interaction required, and limited impact to confidentiality, integrity, and availability within the affected component. The 'UI:R' requirement for user interaction prevents a higher score, but the ease of crafting social engineering attacks and the potential for redirect manipulation in public-facing wikis justify MEDIUM severity for most organizations.

Frequently asked questions

Does this vulnerability affect Mediawiki core or only the RedirectManager Extension?

Only the RedirectManager Extension is affected. Mediawiki core itself does not contain this flaw. Ensure you are running an extension version prior to 1.3.3 to be vulnerable; core Mediawiki installations without this extension are not at risk.

Can this vulnerability be exploited without user interaction?

No. The attacker must convince a logged-in user to visit a malicious webpage or click a specially crafted link. This requires social engineering; purely passive exposure does not trigger the flaw.

What actions can an attacker perform with this vulnerability?

The attacker can perform any redirect-related action that the victim user is authorized to perform. For unprivileged users, this may be limited to creating or modifying personal redirects. For administrators or users with higher permissions, the impact could include widespread wiki modification or configuration changes.

Is there a workaround if we cannot patch immediately?

If immediate patching is not feasible, consider restricting the RedirectManager Extension to administrators only, disabling it entirely until patched, or implementing web application firewall rules that enforce strict referer validation and token validation for extension-related endpoints. However, upgrading to version 1.3.3 or later is the definitive remediation.

This analysis is based on publicly available information as of the publication and modification dates provided. SEC.co makes no warranty regarding the completeness or accuracy of vendor advisories or patch availability. Organizations should verify patch status directly with The Wikimedia Foundation and consult their own security teams before applying updates. CVSS scores and severity ratings reflect the base metric only and may not account for organizational risk context; security teams should conduct their own risk assessment. No liability is assumed for decisions made based on this intelligence. Source: NVD (public-domain), retrieved 2026-08-09. Analysis generated by SEC.co (claude-haiku-4-5).