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

UrlShortener, the Wikimedia Foundation’s URL shortening extension, relies on PHP’s native URL parser for input validation while also applying the WHATWG URL standard in a separate phase. The two validation mechanisms do not agree, creating a gateway for attackers to construct a URL that passes PHP’s check but is interpreted differently by the WHATWG validator. This input‑validation flaw (CWE‑20) permits an attacker to embed a short link that redirects recipients to any chosen host, facilitating phishing or malware delivery without user knowledge.

Affected Systems

The vulnerability affects the UrlShortener extension on Wikimedia Foundation sites. Any installation that has not applied the fix documented in Phabricator ticket T418533 may be vulnerable. Specific release numbers are not furnished in the advisory, so all prior versions of the extension can be considered at risk until updated.

Risk and Exploitability

The EPSS score is below 1 %, and the vulnerability is absent from the CISA KEV list, indicating no known public exploitation. Although a precise CVSS score is unavailable, the ability to redirect users to arbitrary destinations presents a serious threat to user trust and security. An attacker must craft a shortened link that the extension accepts; when a user clicks it, they will be sent to a malicious host. The low exploitation probability keeps the risk moderate, yet the potential impact remains high if the extension is widely deployed.

Generated by OpenCVE AI on July 21, 2026 at 14:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the updated UrlShortener extension released in Wikimedia Phabricator ticket T418533; the patch corrects the validation mismatch.
  • If an update cannot be applied immediately, temporarily disable the UrlShortener extension or block shortlink generation until a 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 July 21, 2026 at 14:22 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

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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T14:30:08Z

Weaknesses
  • CWE-20

    Improper Input Validation