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-100380 Overview
CVE-2026-100380 is a Cross-Site Scripting (XSS) vulnerability in the Wikimedia Foundation MediaWiki Wikibase Extension. The flaw stems from improper neutralization of input during web page generation, classified as [CWE-79]. An attacker can inject malicious script content that executes in the browsers of users viewing affected pages. Exploitation requires user interaction, and the attack is delivered over the network. The vulnerability affects MediaWiki Wikibase Extension versions prior to 1.46.1, 1.45.5, and 1.43.10.
Critical Impact
Successful exploitation enables script execution in victim browsers, allowing session theft, credential harvesting, and unauthorized actions performed in the context of authenticated MediaWiki users.
Affected Products
- MediaWiki Wikibase Extension versions before 1.46.1
- MediaWiki Wikibase Extension versions before 1.45.5
- MediaWiki Wikibase Extension versions before 1.43.10
Discovery Timeline
- 2026-09-25 - CVE-2026-100380 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-100380
Vulnerability Analysis
The Wikibase Extension provides structured data capabilities for MediaWiki installations, including Wikidata. The vulnerability allows attacker-controlled input to reach the rendered HTML output without proper neutralization. When a user views an affected page, the injected payload executes within the browser session. The scope extends beyond the vulnerable component, affecting the integrity and confidentiality of other resources served by the same origin. User interaction is required, which typically means a victim must view a crafted entity, label, description, or related Wikibase content.
Root Cause
The root cause is improper output encoding of user-supplied data rendered by the Wikibase Extension [CWE-79]. Input that should be treated as plain text is instead interpreted as HTML or JavaScript when rendered to the DOM. See the Wikimedia Phabricator Task and the associated Wikimedia Gerrit Code Review for technical details on the affected code paths and the applied fix.
Attack Vector
An unauthenticated remote attacker crafts Wikibase content containing malicious markup or script payloads. The attacker stores or references this content in a location accessible to victims, such as an entity label, alias, description, or statement. When an authenticated user loads the affected view, the browser executes the attacker-controlled payload under the origin of the MediaWiki site. The payload can read session cookies, perform CSRF-like actions, modify page content, or redirect users to attacker infrastructure.
No verified public exploit code is available for this vulnerability. Technical details are described in the referenced upstream patch and tracker.
Detection Methods for CVE-2026-100380
Indicators of Compromise
- Unexpected <script> tags, javascript: URIs, or inline event handlers (onerror, onload) appearing in Wikibase entity labels, descriptions, aliases, or statement values.
- MediaWiki access logs showing requests to Wikibase entity pages followed by anomalous outbound requests from client browsers to unknown domains.
- Audit log entries showing edits to Wikibase entities from newly created or low-reputation accounts containing HTML markup in free-text fields.
Detection Strategies
- Review Wikibase revision history for diffs that introduce HTML tags, encoded script payloads, or data URIs into entity content.
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script violations originating from Wikibase-rendered pages.
- Scan database tables backing Wikibase entities for strings matching XSS payload patterns such as <script, onerror=, onload=, and javascript:.
Monitoring Recommendations
- Monitor web server and application logs for abnormal spikes in requests to Wikibase entity endpoints from a single client or source IP.
- Alert on CSP violation reports referencing Wikibase pages, which can indicate stored payload execution attempts.
- Track administrator and privileged account sessions for unexpected API calls originating from browser contexts after viewing Wikibase pages.
How to Mitigate CVE-2026-100380
Immediate Actions Required
- Upgrade the MediaWiki Wikibase Extension to version 1.46.1, 1.45.5, or 1.43.10 or later, matching the release branch in use.
- Audit recent Wikibase entity edits for injected markup and revert any suspicious revisions.
- Rotate session tokens and administrative credentials if evidence of exploitation is identified.
Patch Information
The fix is tracked in the Wikimedia Gerrit Code Review and the associated Wikimedia Phabricator Task. Apply the patched release that corresponds to your deployed MediaWiki branch: 1.46.1, 1.45.5, or 1.43.10.
Workarounds
- Enforce a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
- Restrict Wikibase editing permissions to trusted user groups until patching is complete.
- Deploy a web application firewall rule to block requests containing common XSS payload patterns targeting Wikibase endpoints.
# Example CSP header to limit inline script execution on MediaWiki pages
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors '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

