CVE-2026-58037

Core log entries for exceptions and XSS issues in log entry formatting code that may be caused by user-controlled input

Published Jul 1, 2026 CVSS 4.0 · 0 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a cross‑site scripting issue caused by improper neutralization of user‑controlled input in MediaWiki’s core log‑formatting code. Input that is incorporated into log entries can be rendered without escaping, allowing malicious code to be stored in the logs and executed when the log pages are viewed.

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 problem 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.

Risk and Exploitability

The EPSS score of less than 1 % indicates a very low likelihood of exploitation, and the vulnerability is not included in the CISA KEV catalog. The CVSS score of 6.1 indicates moderate severity. The likely attack vector involves a web page that displays logs; by inserting unescaped data into a log entry, an attacker can cause arbitrary JavaScript to run when the log page is viewed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MediaWiki to version 1.46.0 or later to apply the fixed log‑formatting logic.
  • Restrict access to log pages so that only trusted users can view them, limiting exposure while the vulnerability persists.
  • Review and sanitize any legacy log entries that may contain unescaped user input, or purge suspicious logs to prevent exploitation.

Generated by OpenCVE AI on August 13, 2026 at 12:40 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
Type Values Removed Values Added
First Time appeared Wikimedia
Wikimedia mediawiki
Vendors & Products Wikimedia
Wikimedia mediawiki
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
wikimedia-foundation
Published
Updated
Nov 17, 2026, 11:22 PM
Reserved
Jun 27, 2026, 1:32 PM
Status
Analyzed
Published
Jul 1, 2026, 4:16 PM
Modified
Nov 18, 2026, 12:18 AM