Description
Improper input validation vulnerability in Wikimedia Foundation UrlShortener.

This vulnerability is associated with program files includes/UrlShortenerUtils.Php.
Published: 2026-07-01
Score: 0 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from an improper input validation in the UrlShortener extension’s URL handling function, which first applies PHP’s native URL parser and then processes the URL according to the WHATWG standard. Because the two parsers interpret certain syntactic constructs differently, an attacker can craft a short URL that passes PHP’s checks but is parsed differently by the WHATWG validator, allowing the link to redirect to an arbitrary host. The primary impact is an open redirect that can be leveraged for phishing or malware delivery, and the weakness aligns with CWE-20.

Affected Systems

The UrlShortener extension is part of Wikimedia Foundation sites. The CVE description does not specify affected versions, so the scope of the vulnerability is unknown. Sites that have not applied the fix documented in Phabricator ticket T418533 should verify whether they are vulnerable.

Risk and Exploitability

The EPSS score is below 1 %, indicating a low overall probability of public exploitation, and the vulnerability is not present in the CISA KEV catalog. The CVSS score of 8.8 indicates a high severity risk, underscoring the vulnerability’s potential to significantly undermine user trust and facilitate phishing. Based on the description, it is inferred that an attacker could craft a short URL that passes initial checks but redirects to an arbitrary host, causing a victim clicking the URL to be redirected to a malicious host. The low exploitation probability keeps the immediate risk moderate, yet the potential impact remains high if the extension is widely deployed.

Generated by OpenCVE AI on August 12, 2026 at 00:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the updated UrlShortener extension released in Wikimedia Phabricator ticket T418533, which corrects the validation mismatch.
  • If an immediate update is not possible, disable the UrlShortener extension or block shortlink generation until the secure version is available.
  • Implement strict URL validation that follows the WHATWG specification and enforce a whitelist of trusted hostnames to prevent unintended redirects.

Generated by OpenCVE AI on August 12, 2026 at 00:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Wikimedia
Wikimedia urlshortener
Vendors & Products Wikimedia
Wikimedia urlshortener

Wed, 01 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description Improper input validation vulnerability in Wikimedia Foundation UrlShortener. This vulnerability is associated with program files includes/UrlShortenerUtils.Php.
Title UrlShortener extension url validation can be bypassed due to difference between php url parsing and WHATWG
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 0, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Mediawiki Mediawiki
Wikimedia Urlshortener
cve-icon MITRE

Status: PUBLISHED

Assigner: wikimedia-foundation

Published:

Updated: 2026-07-01T15:44:29.349Z

Reserved: 2026-06-29T13:21:21.798Z

Link: CVE-2026-13706

cve-icon Vulnrichment

Updated: 2026-07-01T15:44:25.402Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-01T16:16:31.617

Modified: 2026-07-09T16:02:41.730

Link: CVE-2026-13706

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T00:45:03Z

Weaknesses
  • CWE-20

    Improper Input Validation