---
id: CVE-2026-58028
title: >-
  Pretty-printed API output combined with centralauthtoken allows XSS with
  certain gadgets
summary: >-
  Improper Neutralization of Input During Web Page Generation (XSS or
  'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki,
  Wikimedia Foundation CentralAuth.

   This vulnerability is associated with program files includes…
severity: none
cvss: 0
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: Wikimedia Foundation
product: MediaWiki
affected:
  - 'MediaWiki < 1.46.0, 1.45.4, 1.44.6, 1.43.9'
  - 'CentralAuth < 1.46.0, 1.45.4, 1.44.6, 1.43.9'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-01T15:50:31.075019Z'
published: '2026-07-01'
updated: '2026-11-17'
sourceUpdated: '2026-11-17T23:22:15.228Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-58028'
references:
  - url: 'https://phabricator.wikimedia.org/T422306'
tags:
  - cve.org
epss: 0.00157
epssPercentile: 0.05121
ingestedAt: '2026-11-17T23:47:04.356Z'
---

## Overview

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

 This vulnerability is associated with program files includes/Api/ApiFormatBase.Php, includes/Api/ApiHelp.Php, includes/ResourceLoader/Module.Php, includes/Hooks/Handlers/PageDisplayHookHandler.Php, includes/LogFormatter/PermissionChangeLogFormatter.Php.



This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9; CentralAuth: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.

## Affected

- `MediaWiki < 1.46.0, 1.45.4, 1.44.6, 1.43.9`
- `CentralAuth < 1.46.0, 1.45.4, 1.44.6, 1.43.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
