CVE-2026-58028 PUBLISHED

Pretty-printed API output combined with centralauthtoken allows XSS with certain gadgets

Assigner: wikimedia-foundation
Reserved: 27.06.2026 Published: 01.07.2026 Updated: 01.07.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 0

Product Status

Vendor Wikimedia Foundation
Product MediaWiki
Versions Default: unaffected
  • affected from * to 1.46.0, 1.45.4, 1.44.6, 1.43.9 (excl.)
Vendor Wikimedia Foundation
Product CentralAuth
Versions Default: unaffected
  • affected from * to 1.46.0, 1.45.4, 1.44.6, 1.43.9 (excl.)

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') CWE