CVE-2026-58520: Mediawiki UrlShortener Open Redirect Vulnerability – Patch Guidance
A vulnerability in Mediawiki's UrlShortener Extension allows attackers to craft malicious URLs that redirect users to untrusted websites. When a user visits a shortened link generated by the extension, they may be sent to a phishing site, malware distribution point, or other malicious destination without clear warning. The vulnerability affects versions before 1.43.9, 1.44.6, and 1.45.4.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.1 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses (CWE)
- CWE-601
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-01 / 2026-07-09
NVD description (verbatim)
URL redirection to untrusted site ('open redirect') vulnerability in The Wikimedia Foundation Mediawiki - UrlShortener Extension allows Cross-Site Flashing. This issue affects Mediawiki - UrlShortener Extension: from * before 1.43.9, 1.44.6, 1.45.4.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-58520 is an open redirect vulnerability (CWE-601) in the Mediawiki UrlShortener Extension that fails to properly validate redirect destinations. The flaw enables attackers to supply arbitrary URLs that bypass security controls, allowing cross-site interaction and information disclosure. The vulnerability is network-accessible, requires no authentication, and depends only on user interaction—a user must click a malicious shortened link to trigger the issue.
Business impact
Organizations running community wikis or internal documentation systems powered by Mediawiki face reputational and security risks. Users clicking shortened links may unknowingly visit phishing pages, potentially compromising credentials or introducing malware into the network. For public wikis, the risk extends to all external users who trust the wiki as a source, making this a trust and brand integrity issue. Insider attacks leveraging this vector could also direct employees to credential harvesting sites.
Affected systems
The UrlShortener Extension for Mediawiki is vulnerable in all versions before 1.43.9 (for the 1.43.x line), 1.44.6 (for the 1.44.x line), and 1.45.4 (for the 1.45.x line). Mediawiki instances using this extension should verify their current version against these thresholds. The extension is not bundled by default but is commonly deployed in institutional and community wikis.
Exploitability
Exploitation is straightforward and requires no special privileges or tools—an attacker simply crafts a URL that exploits the redirect flaw and distributes it to targets. User interaction is necessary; the victim must click the malicious link. The network-accessible nature and lack of authentication requirements mean any attacker with internet connectivity can attempt this attack. No CVSS evidence or known active exploitation has been reported to CISA's KEV catalog, but the simplicity of the attack vector warrants prompt patching.
Remediation
Upgrade the UrlShortener Extension to version 1.43.9, 1.44.6, 1.45.4, or later depending on your Mediawiki branch. These patched versions implement validation to ensure shortened URLs redirect only to intended, trusted destinations. Test the upgrade in a staging environment first to confirm compatibility with any custom configurations or dependent extensions.
Patch guidance
Consult the official Mediawiki and UrlShortener Extension release notes to identify the exact patch version for your deployment. Typically, upgrading involves downloading the patched extension version and replacing the existing files, followed by running any necessary database migrations or cache-clearing operations. Verify the patch level against the vendor advisory before deploying to production. Plan the upgrade during a maintenance window and notify users of any potential downtime.
Detection guidance
Monitor Mediawiki access logs for suspicious redirect patterns—specifically, requests to the UrlShortener that include unusual target URLs pointing to external domains known for phishing or malware. Inspect shortened link creation logs for links with non-whitelisted destinations. Web application firewalls (WAF) can be configured to flag or block redirect requests to suspicious domains. User education on verifying link destinations before clicking is also critical for risk reduction.
Why prioritize this
Although the CVSS score of 6.1 is moderate, the ease of exploitation, wide attack surface (any user with link-clicking capability), and reputational damage from users being redirected to malicious sites warrant prompt remediation. Organizations hosting public or semi-public wikis should prioritize this higher, as user trust is directly at stake. Instances used primarily for internal documentation with restricted audiences can schedule patching within standard maintenance cycles.
Risk score, explained
The CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N score of 6.1 (MEDIUM) reflects network accessibility, low complexity, no privilege requirement, and user interaction as the only barrier. The scope change (S:C) acknowledges that compromised resources can affect systems beyond the vulnerable component. Confidentiality and integrity are each slightly impacted (C:L, I:L), but availability is not affected (A:N). This score does not account for reputational harm or secondary infection risk, which may elevate practical risk in high-visibility wikis.
Frequently asked questions
Do all Mediawiki installations need to patch this?
Only those using the UrlShortener Extension are affected. If your Mediawiki instance does not have this extension installed or enabled, you are not vulnerable. Check your extensions directory and LocalSettings.php to confirm its presence.
What is the difference between the three patch versions (1.43.9, 1.44.6, 1.45.4)?
These represent different Mediawiki release branches with different maintenance schedules. Choose the patch version that corresponds to your current Mediawiki version branch. For example, if you run Mediawiki 1.44.x, upgrade to 1.44.6. Do not skip major versions unless your infrastructure and extensions support it.
Can users be tricked into clicking these malicious shortened links?
Yes. The shortened URL format conceals the true destination, so users cannot easily verify where a link leads without hovering over it or using a URL preview tool. Attackers can use social engineering or embed these links in trusted contexts (forum posts, email, chat) to increase click rates.
Is there a temporary workaround if I cannot patch immediately?
Disable the UrlShortener Extension until you can patch. This removes the immediate vulnerability but also removes shortened link functionality. Alternatively, implement strict URL validation rules at the WAF or reverse proxy level to restrict redirects to known-good domains, though this is not a complete substitute for patching.
This analysis is based on publicly available information and vendor advisories current as of the publication date. Patch version numbers and affected version ranges must be verified against the official Mediawiki and UrlShortener Extension release notes before deployment. Security conditions, patch availability, and organizational risk tolerances vary; consult with your security team and infrastructure owners to determine appropriate remediation timelines. No liability is assumed for decisions made based on this intelligence. This content is provided for educational and defensive security purposes only. Source: NVD (public-domain), retrieved 2026-08-10. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2025-32748MEDIUMDell PowerFlex Manager Host Header Injection Vulnerability
- CVE-2026-10856MEDIUMMISP Dashboard URL Validation Bypass – Phishing Risk
- CVE-2026-10861MEDIUMMISP Open Redirect Vulnerability in Post-Login Flow
- CVE-2026-11477MEDIUMhsweb OAuth2 Open Redirect Vulnerability – Patch Guide
- CVE-2026-12049MEDIUMpgAdmin 4 Open Redirect in MFA Flow
- CVE-2026-12622MEDIUMGridTime 3000 GNSS Time Server Open Redirect Vulnerability
- CVE-2026-12804MEDIUMOpen Redirect in Lemonldap-ng SAML CDC Endpoint – Patch Guidance
- CVE-2026-14632MEDIUMOpen Redirect in Ecommerce-CodeIgniter-Bootstrap — Patch Guide