MediaWiki UploadWizard
CVE-2025-62663
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain upload access to wiki
-
DeliveryUpload file with malicious script in metadata
-
ExploitPayload stored unsanitized on page
-
ExecutionVictim views affected page
-
PersistScript executes in victim browser session
-
ImpactHijack session or act as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the ability to use the UploadWizard upload workflow to submit a file and inject script into an attacker-controlled field (e.g. file description/metadata) that the extension stores and renders without proper neutralization. Realistic limiting factors: most MediaWiki wikis gate uploading behind a registered/confirmed user account, so an attacker typically needs some upload privilege; and because this is STORED XSS, a separate victim must subsequently view the affected upload/file page for the payload to fire (despite the vector's UI:N). Impact escalates materially only if a privileged user (admin/bureaucrat) views the injected content. Affected scope is UploadWizard on MediaWiki from master before 1.39. |
| Impact | This is a stored (persistent) Cross-Site Scripting flaw (CWE-79) in the MediaWiki UploadWizard extension. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with base score 6.9 implies trivially remote, unauthenticated exploitation with no user interaction, but this partially conflicts with the nature of the bug: UploadWizard is an upload workflow that on most deployments requires an authenticated editor account, and stored XSS by definition relies on a second victim later viewing the injected content - so the vector's PR:N and UI:N are optimistic and should be verified against the actual wiki configuration. The EPSS score is low (0.45%, 37th percentile), indicating no meaningful mass-exploitation pressure, and the vulnerability is NOT on the CISA KEV list and has no public exploit identified at time of analysis. The combined signals point to a genuine but moderate-priority issue: a real injection flaw with limited (Low) confidentiality/integrity/availability impact per the vendor vector, worth patching on normal cycles rather than as an emergency, unless the affected wiki allows anonymous/low-trust uploads or hosts high-value administrative sessions. Key missing data: there is no human-readable vendor advisory text, only a Gerrit change and a Phabricator task (T402095) referenced via NVD, so exploitation specifics and exact fixed version must be confirmed from those sources. |
| Exploit ScenarioDerived | An attacker with the ability to upload media through the UploadWizard extension submits a file whose attacker-controlled metadata or description field contains a malicious script payload that is stored and not properly neutralized. When another user - potentially a privileged administrator - later views the resulting file or upload page, the script executes in their browser session, enabling session/token theft or actions performed as the victim. No public exploit code is identified at time of analysis, so weaponization effort would be required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Stored cross-site scripting in the MediaWiki UploadWizard extension allows an authenticated user with upload privileges to inject script into file descriptions or metadata that is later rendered to other users viewing the affected file page. The payload persists on the wiki and can execute in the browser of any viewer - including administrators - enabling session theft or actions on their behalf within MediaWiki. No public exploit identified at time of analysis (EPSS 0.45%, 37th percentile), and exploitation requires both the ability to use the upload workflow and a separate victim to view the stored content; impact is assessed as limited confidentiality and integrity loss (CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N).
RemediationAI
Apply the upstream fix in Gerrit change I37ea7c8825e9de776e207b3919b451ba2b905369 or upgrade to MediaWiki 1.39 or later, where the corrected UploadWizard code is included; note that a released patched version is not independently confirmed in the provided data, so validate against Phabricator T402095. If immediate upgrade is not possible, restrict the upload workflow to trusted users (e.g., require confirmed or autoconfirmed status) to reduce the attack surface, and consider disabling the UploadWizard extension if uploads are not essential - at the cost of losing the multi-file upload UI. Additionally, enforce MediaWiki's HTML sanitization for file descriptions and metadata (ensure $wgRawHtml is off and $wgAllowUserJs is appropriately configured), and monitor file description changes for injected script patterns; these compensating controls do not fully remove the stored XSS risk because they depend on correct sanitization and user privilege management.
Affected ProductsAI
MediaWiki installations running the UploadWizard extension at any version from master before 1.39 (i.e., pre-1.39 builds). No CPE string was provided; the affected code is the Wikimedia Foundation MediaWiki - UploadWizard extension. The upstream issue is tracked in Phabricator T402095 and the fix is proposed in Gerrit change I37ea7c8825e9de776e207b3919b451ba2b905369. Other MediaWiki extensions or core versions are not covered by this advisory.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: the UploadWizard extension takes user-supplied file description and metadata fields and inserts them into HTML output without sufficient escaping, so script tags survive and execute in the context of the MediaWiki page. UploadWizard is a JavaScript-heavy extension that guides users through multi-file uploads and then displays the resulting file pages; the vulnerable path is that stored content rendering. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects network exploitation with low privileges, no user interaction required in the vulnerable component itself, and scope change because script execution crosses trust boundaries into victim browsers. Affected scope is MediaWiki UploadWizard from master before version 1.39.
Know when Mediawiki gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
Uploading via UploadWizard generally requires an account so PR:L; stored XSS executes in a different victim's browser so S:C; limited C/I impact and no availability loss.
Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).
CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in The Wikimedia Foundation Mediawiki - UploadWizard Extension allows Stored XSS.This issue affects Mediawiki - UploadWizard Extension: from master before 1.39.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB