Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-100381 Overview
CVE-2026-100381 is a Cross-Site Scripting (XSS) vulnerability in the Wikimedia Foundation MediaWiki UploadWizard Extension. The flaw stems from improper neutralization of user-supplied input during web page generation [CWE-79]. Attackers can inject malicious scripts that execute in the browser context of users interacting with crafted content served through the extension.
The vulnerability affects UploadWizard versions prior to 1.46.1, 1.45.5, and 1.43.10. Exploitation requires user interaction, such as viewing a specially crafted page or upload interface. Successful exploitation allows attackers to run arbitrary JavaScript in the victim's session, potentially leading to session theft, account takeover, or wiki defacement.
Critical Impact
Attackers can execute arbitrary JavaScript in authenticated users' browsers, enabling session hijacking and unauthorized actions on behalf of wiki editors and administrators.
Affected Products
- Wikimedia MediaWiki UploadWizard Extension versions before 1.43.10
- Wikimedia MediaWiki UploadWizard Extension 1.45.x before 1.45.5
- Wikimedia MediaWiki UploadWizard Extension 1.46.x before 1.46.1
Discovery Timeline
- 2026-09-25 - CVE-2026-100381 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-100381
Vulnerability Analysis
The UploadWizard extension provides a step-based interface for uploading files to MediaWiki installations, including Wikimedia Commons. The vulnerability occurs when user-controlled input is rendered into HTML output without proper sanitization or encoding. An attacker can craft input containing JavaScript payloads that the extension embeds verbatim into generated pages.
The flaw is network-reachable and requires no authentication. However, successful exploitation requires the victim to interact with attacker-influenced content. Impact is bounded to confidentiality and integrity of the victim's browser session and the scoped wiki context.
Root Cause
The root cause is missing or insufficient output encoding when the UploadWizard extension generates HTML containing attacker-controllable fields. HTML special characters are not neutralized before being written to the DOM, allowing <script> tags or event handler attributes to execute. See Wikimedia Phabricator Task #434619 for upstream analysis.
Attack Vector
An unauthenticated attacker submits crafted input through fields processed by UploadWizard. When another user, typically an authenticated editor or administrator, loads the resulting page, the injected script executes under the wiki's origin. The attacker can then exfiltrate session cookies, perform CSRF-style actions, or modify page content. Technical remediation details are tracked in the Wikimedia Gerrit Change Proposal.
Detection Methods for CVE-2026-100381
Indicators of Compromise
- HTTP requests to UploadWizard endpoints containing encoded <script>, javascript:, or event handler payloads such as onerror= and onload=.
- Unexpected outbound requests from authenticated wiki user sessions to external domains following interaction with upload pages.
- Content revisions or file descriptions containing unescaped HTML tags attributed to recently created or low-reputation accounts.
Detection Strategies
- Review web server and MediaWiki access logs for POST and GET requests to UploadWizard API endpoints containing suspicious markup patterns.
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution violations originating from UploadWizard pages.
- Correlate authentication events with abnormal session activity, such as account changes immediately following page views on upload-related URLs.
Monitoring Recommendations
- Enable verbose logging on the MediaWiki instance for UploadWizard actions and audit changes to file metadata and user talk pages.
- Monitor WAF telemetry for XSS signature matches targeting /wiki/Special:UploadWizard and related endpoints.
- Track EPSS and vendor advisory updates for CVE-2026-100381 to adjust detection priority as exploitation likelihood evolves.
How to Mitigate CVE-2026-100381
Immediate Actions Required
- Upgrade the UploadWizard extension to version 1.46.1, 1.45.5, or 1.43.10 depending on your MediaWiki release branch.
- Audit recently uploaded files and page revisions for injected markup during the exposure window.
- Rotate session cookies and require re-authentication for privileged wiki accounts following patch deployment.
Patch Information
Wikimedia Foundation has published fixes in UploadWizard versions 1.46.1, 1.45.5, and 1.43.10. Review the Wikimedia Gerrit Change Proposal and Wikimedia Phabricator Task #434619 for the authoritative patch set and apply the version matching your deployed MediaWiki branch.
Workarounds
- Disable the UploadWizard extension in LocalSettings.php until patches can be applied, and route uploads through the standard Special:Upload interface.
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
- Restrict upload privileges to vetted user groups to reduce the attacker population able to submit crafted input.
# Configuration example: disable UploadWizard in LocalSettings.php
# wfLoadExtension( 'UploadWizard' ); # comment out to disable
# Enforce a baseline CSP via Apache response header
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

