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

CVE-2026-100243: MediaWiki WikiSEO Extension XSS Vulnerability

CVE-2026-100243 is a stored cross-site scripting vulnerability in the MediaWiki WikiSEO Extension that enables attackers to inject malicious scripts. This article covers the technical details, affected versions, and mitigation.

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

CVE-2026-100243 is a stored Cross-Site Scripting (XSS) vulnerability in the Wikimedia Foundation MediaWiki WikiSEO Extension. The flaw stems from improper neutralization of user-supplied input during web page generation [CWE-79]. Attackers can inject malicious script content that persists on affected wiki pages and executes in the browser of any user viewing the page.

The vulnerability affects WikiSEO Extension versions prior to 1.46.1, 1.45.5, and 1.43.10. Successful exploitation enables session hijacking, credential theft, and unauthorized actions performed in the context of authenticated wiki users, including administrators.

Critical Impact

Stored XSS in the WikiSEO Extension allows attackers to persist malicious JavaScript across the affected MediaWiki instance, targeting every visitor including privileged accounts.

Affected Products

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

Discovery Timeline

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

Technical Details for CVE-2026-100243

Vulnerability Analysis

The WikiSEO Extension enriches MediaWiki pages with Search Engine Optimization (SEO) metadata such as Open Graph tags, Twitter Cards, and custom <meta> elements. The extension accepts parameters from wiki page markup and renders them into the HTML <head> section of generated pages.

The vulnerability occurs because the extension does not consistently sanitize or encode these attacker-controllable parameter values before emitting them into the rendered HTML. An authenticated user with page edit rights can supply crafted parameter values that break out of the intended attribute context and inject arbitrary script.

Because the malicious payload is stored inside wiki page content, it persists across sessions and executes for every subsequent visitor. This includes administrators, elevating the impact from single-user compromise to full wiki takeover.

Root Cause

The root cause is missing output encoding on user-controlled metadata values that the extension writes into HTML attributes. The fix landed in the upstream commit tracked in Wikimedia Gerrit change Iff6ef320017649750e5c6723a91ee298eb97a408 and issue Phabricator T430896.

Attack Vector

An attacker with permission to edit a wiki page invokes the WikiSEO parser function with a malicious value. When the page is saved and rendered, the payload executes in the browser context of any user visiting the page. The attack is stored, requires no user interaction beyond page navigation, and executes with the origin and cookies of the target MediaWiki site.

No verified public exploit code is available. See the Wikimedia Phabricator task for additional technical context.

Detection Methods for CVE-2026-100243

Indicators of Compromise

  • Wiki page revisions that contain <script> fragments, javascript: URIs, or HTML event handlers such as onerror= and onload= inside WikiSEO parser function calls.
  • Unexpected <meta> tags in rendered page source containing quote-breaking characters or inline script.
  • Outbound requests from user browsers to attacker-controlled domains shortly after visiting a wiki page.

Detection Strategies

  • Audit the MediaWiki revision and text tables for edits invoking WikiSEO parameters that include HTML control characters.
  • Inspect rendered page HTML for malformed attributes in Open Graph and Twitter Card <meta> elements.
  • Correlate web server access logs with Content Security Policy (CSP) violation reports to surface unexpected script sources.

Monitoring Recommendations

  • Enable and centrally log CSP report-only or enforcement violations for the MediaWiki origin.
  • Monitor edit activity from newly created or low-reputation accounts targeting pages that use the WikiSEO extension.
  • Alert on installation of unpatched WikiSEO Extension versions across managed MediaWiki instances.

How to Mitigate CVE-2026-100243

Immediate Actions Required

  • Upgrade the WikiSEO Extension to version 1.46.1, 1.45.5, or 1.43.10 depending on the MediaWiki branch in use.
  • Review recent edits to pages using WikiSEO parser functions and revert any revisions containing suspicious markup.
  • Invalidate active sessions and rotate credentials for administrator accounts that may have viewed compromised pages.

Patch Information

The upstream fix is available in the Wikimedia Gerrit change Iff6ef320017649750e5c6723a91ee298eb97a408. Fixed branches are WikiSEO 1.46.1, 1.45.5, and 1.43.10. Administrators should pull the corresponding release and redeploy the extension.

Workarounds

  • Restrict page edit permissions to trusted users until the extension is upgraded.
  • Deploy a strict Content Security Policy that disallows inline scripts and restricts script sources to a known allowlist.
  • Temporarily disable the WikiSEO Extension on affected instances if patching cannot be performed immediately.
bash
# Example: disable the WikiSEO extension in LocalSettings.php until patched
# Comment out or remove the following line:
# wfLoadExtension( 'WikiSEO' );

# Example strict CSP header to mitigate stored XSS impact
# 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

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.