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-103046 Overview
CVE-2026-103046 is a stored cross-site scripting (XSS) vulnerability in the Wikimedia Foundation MediaWiki WikiLambda extension. The flaw stems from improper neutralization of user-supplied input during web page generation [CWE-79]. Attackers can inject persistent script payloads that execute in the browser context of any user who views the affected page.
The vulnerability affects all WikiLambda extension versions prior to 1.46.1. Successful exploitation enables session theft, credential harvesting, unauthorized actions performed on behalf of victims, and further propagation of attacker-controlled content within the wiki.
Critical Impact
Stored XSS in a widely deployed MediaWiki extension allows persistent script execution against every user rendering the malicious content, including administrators.
Affected Products
- Wikimedia Foundation MediaWiki WikiLambda extension versions before 1.46.1
- MediaWiki deployments with WikiLambda enabled for Abstract Wikipedia functionality
- Any wiki farm or self-hosted MediaWiki instance running vulnerable WikiLambda builds
Discovery Timeline
- 2026-09-29 - CVE-2026-103046 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-103046
Vulnerability Analysis
The WikiLambda extension implements the ZObject data model that powers Abstract Wikipedia functions. The extension renders user-controlled ZObject fields into HTML pages without applying sufficient output encoding. Attackers can embed HTML or JavaScript payloads in fields that are later reflected into rendered wiki pages.
Because the payload is stored server-side, every subsequent page view executes the attacker script within the origin of the wiki. This grants access to authenticated session cookies, CSRF tokens, and any DOM data available to the victim.
MediaWiki instances typically host privileged users, including sysops and bureaucrats. Executing script in their browsers escalates the impact from content defacement to account takeover, edit-token abuse, and lateral movement across linked wikis.
Root Cause
The root cause is missing or insufficient contextual output encoding when the WikiLambda extension serializes ZObject content into HTML. Input intended to be treated as data is instead parsed as active markup by the browser, matching the CWE-79 pattern.
Attack Vector
An attacker with edit privileges submits a crafted ZObject containing a script payload. The malicious content is stored in the wiki database and served on subsequent renders. Any authenticated or anonymous visitor loading the page triggers execution. Refer to the Wikimedia Gerrit Change Request and Wikimedia Phabricator Task #428829 for the technical fix and issue tracking.
// No verified proof-of-concept code is published for this CVE.
// See the linked Gerrit patch for the exact sanitization changes applied in 1.46.1.
Detection Methods for CVE-2026-103046
Indicators of Compromise
- Wiki pages containing unexpected <script>, onerror, onload, or javascript: tokens inside ZObject fields
- Outbound HTTP requests from user browsers to unfamiliar domains immediately after loading WikiLambda-rendered pages
- Anomalous edits from accounts that recently viewed WikiLambda content, indicating token or session abuse
Detection Strategies
- Audit MediaWiki revision history for edits that introduce raw HTML event handlers or script constructs into WikiLambda ZObject payloads
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script executions originating from wiki pages
- Correlate authenticated session activity with page-view telemetry to identify sessions performing actions immediately after loading suspect ZObjects
Monitoring Recommendations
- Forward MediaWiki access logs and edit logs to a centralized analytics platform for query-based hunting
- Alert on new or modified ZObjects that contain HTML angle brackets, javascript: URIs, or base64-encoded blobs
- Monitor for administrator session cookies transmitted to non-wiki hosts through DNS or proxy logs
How to Mitigate CVE-2026-103046
Immediate Actions Required
- Upgrade the WikiLambda extension to version 1.46.1 or later on all MediaWiki instances
- Review recent ZObject edits for injected markup and revert malicious revisions
- Rotate administrator session tokens and force re-authentication for privileged accounts
Patch Information
The Wikimedia Foundation addressed the issue in WikiLambda 1.46.1. The upstream fix is tracked in the Wikimedia Gerrit Change Request with issue coordination in Wikimedia Phabricator Task #428829. Apply the patch through your standard MediaWiki extension update workflow.
Workarounds
- Disable the WikiLambda extension in LocalSettings.php until the patch is applied
- Restrict edit permissions on WikiLambda namespaces to trusted user groups only
- Enforce a strict Content Security Policy that blocks inline scripts and unauthorized script sources
# Temporarily disable the WikiLambda extension in LocalSettings.php
# Comment out the extension load line, then clear the cache
# wfLoadExtension( 'WikiLambda' );
php maintenance/update.php --quick
php maintenance/rebuildLocalisationCache.php
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

