Skip to main content

MediaWiki UploadWizard CVE-2025-62663

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-18 c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
6.9
CVSS 4.0 · Vendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain upload access to wiki
  2. Delivery
    Upload file with malicious script in metadata
  3. Exploit
    Payload stored unsanitized on page
  4. Execution
    Victim views affected page
  5. Persist
    Script executes in victim browser session
  6. Impact
    Hijack 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).

CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

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

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Medium
MediaWiki media-upload extension, used on Wikimedia and some wiki installs
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2014-1610 MEDIUM POC
6.0 Jan 30

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

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

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

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy