Description
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki.

This vulnerability is associated with program files includes/Language/Language.Php, includes/Logging/BlockLogFormatter.Php, includes/Logging/LogFormatter.Php, includes/Logging/PatrolLogFormatter.Php, includes/Logging/RenameuserLogFormatter.Php, includes/Logging/TagLogFormatter.Php, includes/Specials/SpecialVersion.Php.



This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
Published: 2026-07-01
Score: 0 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The identified flaw is a cross‑site scripting vulnerability arising from improper neutralization of user‑controlled input in MediaWiki’s log‑formatting routines. Based on the description, it is inferred that an attacker can influence the content that is written to a log—such as by creating or editing a page that triggers a log entry, or by causing an exception that records arbitrary data—allowing malicious JavaScript to be embedded in the resulting log page. This weakness is formally designated CWE‑79 and can lead to session hijacking, defacement, or other client‑side damage for users who view the affected log pages.

Affected Systems

MediaWiki installations from the earliest releases up to but not including version 1.46.0 are vulnerable, with documented affected releases being 1.45.4, 1.44.6, and 1.43.9. The vulnerability resides in core files such as includes/Language.php, includes/Logging/BlockLogFormatter.php, LogFormatter.php, PatrolLogFormatter.php, RenameuserLogFormatter.php, TagLogFormatter.php, and includes/Specials/SpecialVersion.php. The issue is intrinsic to the MediaWiki core and is not confined to any specific extension.

Risk and Exploitability

Based on the EPSS score of less than 1 %, it is inferred that the likelihood of exploitation is very low, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, based on the description, it is inferred that the attack vector involves web pages displaying logs; an attacker who can insert unescaped data into a log entry can force users to load a malicious log page, resulting in arbitrary JavaScript execution. The impact upon the affected user is significant in terms of confidentiality and integrity of session data, but the overall risk to the system as a whole remains moderate given the current low exploitation probability.

Generated by OpenCVE AI on July 21, 2026 at 14:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MediaWiki to version 1.46.0 or later to apply the fixed log‑formatting logic.
  • If an upgrade is not immediately possible, restrict access to log viewing pages so that only authenticated administrators can view raw logs.
  • Ensure that any custom extensions, templates, or scripts that output log information invoke MediaWiki’s Sanitizer::escapeHTML or equivalent output encoding functions before rendering user‑controlled content.

Generated by OpenCVE AI on July 21, 2026 at 14:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6380-1 mediawiki security update
References
History

Thu, 02 Jul 2026 01:00:00 +0000

Type Values Removed Values Added
First Time appeared Wikimedia
Wikimedia mediawiki
Vendors & Products Wikimedia
Wikimedia mediawiki

Wed, 01 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Language/Language.Php, includes/Logging/BlockLogFormatter.Php, includes/Logging/LogFormatter.Php, includes/Logging/PatrolLogFormatter.Php, includes/Logging/RenameuserLogFormatter.Php, includes/Logging/TagLogFormatter.Php, includes/Specials/SpecialVersion.Php. This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
Title Core log entries for exceptions and XSS issues in log entry formatting code that may be caused by user-controlled input
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 0, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Wikimedia Mediawiki
cve-icon MITRE

Status: PUBLISHED

Assigner: wikimedia-foundation

Published:

Updated: 2026-07-01T15:46:44.776Z

Reserved: 2026-06-27T13:32:41.613Z

Link: CVE-2026-58037

cve-icon Vulnrichment

Updated: 2026-07-01T15:46:39.619Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T14:30:08Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')