CVE-2026-58035 Stored XSS through a system message in the codex version of Special:Block
Attackers can inject malicious scripts via system messages in MediaWiki's Special:Block page, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-58035?
CVE-2026-58035 is a cross-site scripting vulnerability in Mediawiki Mediawiki, published on 1 Jul 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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 resources/src/mediawiki.Special.Block/SpecialBlock.Vue.
Weakness: CWE-79
Which versions are affected by CVE-2026-58035?
It affects 1 product.
Products include Mediawiki Mediawiki.
How do I fix CVE-2026-58035?
No fix has been published for CVE-2026-58035 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-58035 being exploited?
There is no known exploitation of CVE-2026-58035 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as GHSA-gvg3-mcqq-v953, UBUNTU-CVE-2026-58035.