Skip to main content
Vulnerability Database/CVE-2026-100238

CVE-2026-100238: MediaWiki Flow Extension XSS Vulnerability

CVE-2026-100238 is a stored cross-site scripting flaw in MediaWiki Flow Extension that allows attackers to inject malicious scripts. This post explains its impact, affected versions, and mitigation steps.

Published:

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-100238 Overview

CVE-2026-100238 is a stored cross-site scripting (XSS) vulnerability in the Wikimedia Foundation MediaWiki Flow Extension. The flaw stems from improper neutralization of input during web page generation [CWE-79]. Attackers can inject malicious script content that persists in the wiki and executes in the browsers of subsequent viewers. The issue affects MediaWiki Flow Extension versions prior to 1.46.1, 1.45.5, and 1.43.10.

Critical Impact

Stored XSS in the Flow discussion extension allows attackers to persist malicious JavaScript that executes in the context of any user viewing affected pages, enabling session theft, privilege escalation against administrators, and wiki defacement.

Affected Products

  • Wikimedia Foundation MediaWiki Flow Extension versions before 1.46.1
  • Wikimedia Foundation MediaWiki Flow Extension versions before 1.45.5
  • Wikimedia Foundation MediaWiki Flow Extension versions before 1.43.10

Discovery Timeline

  • 2026-09-29 - CVE-2026-100238 published to NVD
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-100238

Vulnerability Analysis

The Flow Extension provides structured discussion functionality for MediaWiki installations. The vulnerability arises because user-supplied content is rendered into pages without adequate sanitization or output encoding. An authenticated user with permission to post content can embed script payloads that the extension stores and later delivers to other users.

Because the payload is stored server-side, exploitation does not require social engineering to deliver a crafted link. Any user who loads the affected discussion page triggers the payload. Attacks targeting administrators can escalate into account takeover or unauthorized edits across the wiki.

Root Cause

The root cause is improper neutralization of input during web page generation [CWE-79]. The Flow Extension failed to consistently escape or sanitize specific user-controlled fields before rendering them into HTML. See the Wikimedia Phabricator Task T432425 and the corresponding patch on Wikimedia Gerrit Code Review for the code-level fix.

Attack Vector

An attacker with the ability to post Flow content submits data containing script content that bypasses sanitization. The extension persists the payload in the discussion structure. When another user, including a privileged administrator, views the discussion, the browser executes the injected script within the wiki origin. The attacker inherits the victim's session context and can perform actions on their behalf.

No verified proof-of-concept code is published. Refer to the linked Wikimedia references for technical details of the affected code paths.

Detection Methods for CVE-2026-100238

Indicators of Compromise

  • Unexpected <script>, on*= event handler attributes, or javascript: URIs stored in Flow discussion revisions or database tables.
  • Anomalous outbound requests from browsers loading Flow pages to attacker-controlled domains, indicating cookie or token exfiltration.
  • Administrator account activity that does not correlate with legitimate login sessions, such as unexpected user rights changes or content edits.

Detection Strategies

  • Review Flow revision history and database entries for HTML or JavaScript syntax in fields that should contain plain wikitext.
  • Correlate web server logs with account changes to identify sessions where a Flow page view immediately preceded privileged actions.
  • Deploy Content Security Policy (CSP) reporting endpoints to capture inline-script violations on wiki pages.

Monitoring Recommendations

  • Alert on new or modified Flow posts containing script tags, event handler attributes, or encoded payloads such as <script.
  • Monitor authentication logs for administrator sessions that perform sensitive actions shortly after viewing user-submitted Flow content.
  • Track outbound HTTP requests from wiki-serving infrastructure and end-user browsers for connections to unfamiliar domains.

How to Mitigate CVE-2026-100238

Immediate Actions Required

  • Upgrade the MediaWiki Flow Extension to 1.46.1, 1.45.5, or 1.43.10 on the corresponding MediaWiki release branch.
  • Audit existing Flow content for stored payloads and remove any injected script before restoring public access.
  • Rotate session tokens and require re-authentication for administrator accounts that may have viewed malicious content.

Patch Information

Wikimedia has released fixed versions of the Flow Extension: 1.46.1, 1.45.5, and 1.43.10. The upstream fix is tracked in Wikimedia Gerrit change Ic6149363 and Phabricator task T432425. Apply the update matching your MediaWiki branch.

Workarounds

  • Temporarily disable the Flow Extension in LocalSettings.php if patching cannot be performed immediately.
  • Restrict Flow posting permissions to trusted user groups to reduce the pool of potential attackers.
  • Enforce a strict Content Security Policy that blocks inline scripts and unauthorized script sources on wiki pages.
bash
# Configuration example: disable the Flow Extension until patched
# In LocalSettings.php, comment out or remove the extension load line:
# wfLoadExtension( 'Flow' );

# Then verify the extension is no longer active:
php maintenance/showJobs.php --group | grep -i flow

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.