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

CVE-2026-103045: MediaWiki Refreshed Skin XSS Vulnerability

CVE-2026-103045 is a stored XSS flaw in MediaWiki Refreshed skin that enables attackers to inject malicious scripts into web pages. This article covers the technical details, affected versions, security impact, and mitigation strategies.

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

CVE-2026-103045 is a stored cross-site scripting (XSS) vulnerability in the Wikimedia Foundation MediaWiki Refreshed skin. The flaw stems from improper neutralization of input during web page generation, allowing attackers to inject persistent script payloads into rendered pages. When users view an affected page, their browsers execute the attacker-controlled JavaScript in the context of the MediaWiki site.

The vulnerability is tracked as [CWE-79] and affects the Refreshed skin component. Successful exploitation can lead to session hijacking, credential theft, defacement, or delivery of secondary payloads to visitors of the wiki.

Critical Impact

Stored XSS in the Refreshed skin allows attackers to persist malicious scripts that execute in the browser of every user who loads the affected page.

Affected Products

  • MediaWiki Refreshed skin versions before 1.43.10
  • MediaWiki Refreshed skin versions before 1.45.5
  • MediaWiki Refreshed skin versions before 1.46.1

Discovery Timeline

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

Technical Details for CVE-2026-103045

Vulnerability Analysis

The Refreshed skin renders user-controllable input into HTML output without adequate sanitization or contextual output encoding. Because MediaWiki skins generate markup surrounding page content, an injection point in the skin layer affects every page rendered with that theme. Attackers who can influence stored data reflected by the skin can persist a script payload that executes for later viewers.

Stored XSS in a wiki platform is particularly consequential because content is designed to be shared and viewed by many users. Payloads delivered through this vector run with the privileges of the viewing user, including any active MediaWiki session. Administrative accounts loading the poisoned page can be leveraged to escalate control over the wiki.

Details of the affected code path and fix are available in Wikimedia Gerrit Change 1309277 and the tracking record Wikimedia Phabricator Task T268377.

Root Cause

The root cause is improper neutralization of input during web page generation within the Refreshed skin templates. Data flowing into HTML contexts is not consistently encoded, allowing attacker-supplied markup to be interpreted as active script rather than inert text. This class of flaw is cataloged under [CWE-79].

Attack Vector

An authenticated or otherwise content-contributing user submits crafted input that the Refreshed skin later renders without safe encoding. The payload is stored in the wiki and executes whenever another user views a page that surfaces the tainted field. No further interaction beyond visiting the affected page is required from victims.

No public proof-of-concept exploit is referenced in the advisory. Refer to the linked Gerrit patch for the sanitization changes that block the injection path.

Detection Methods for CVE-2026-103045

Indicators of Compromise

  • Wiki pages or user-controllable fields containing <script>, onerror=, onload=, or javascript: sequences rendered inside the Refreshed skin.
  • Unexpected outbound requests from user browsers to attacker-controlled domains when loading wiki pages.
  • New or modified administrator accounts, permission changes, or content edits shortly after a user with elevated privileges viewed a suspect page.

Detection Strategies

  • Audit stored MediaWiki content (page text, user profile fields, and skin-rendered metadata) for HTML or JavaScript that should not be present.
  • Review MediaWiki access and edit logs for revisions that introduce script-like markup, focusing on contributions preceding the patch date.
  • Enable and monitor Content Security Policy (CSP) violation reports to surface script execution outside expected sources.

Monitoring Recommendations

  • Alert on anomalous session activity following page views, such as privilege changes or bulk edits from a single account.
  • Track browser telemetry from users accessing the wiki for script errors and cross-origin fetches indicative of injected payloads.
  • Correlate web server logs with edit history to identify the revision and author responsible for injected content.

How to Mitigate CVE-2026-103045

Immediate Actions Required

  • Upgrade the MediaWiki Refreshed skin to version 1.46.1, 1.45.5, or 1.43.10 depending on your release branch.
  • Invalidate active administrator sessions and rotate credentials for privileged accounts that may have viewed poisoned pages.
  • Review recent revisions to wiki content and revert any edits containing injected markup.

Patch Information

The Wikimedia Foundation has published fixes referenced in Wikimedia Gerrit Change 1309277. Fixed releases of the Refreshed skin are 1.46.1, 1.45.5, and 1.43.10. Track remediation status through Wikimedia Phabricator Task T268377.

Workarounds

  • Temporarily switch the default skin away from Refreshed until the upgrade is applied.
  • Deploy a strict Content Security Policy that disallows inline scripts and restricts script sources to trusted origins.
  • Restrict edit permissions on high-visibility pages and user-controllable fields to reduce the injection surface.

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.