CVE-2026-34095 action=raw with Special:Mypage subpage title responds with "Content-Type: text/html" on ctype=text/javascript request
Attackers can execute arbitrary scripts in victim browsers by exploiting incorrect content-type headers in MediaWiki raw actions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-34095?
CVE-2026-34095 is a cross-site scripting vulnerability in Mediawiki Mediawiki, published on 11 May 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Vulnerability in Wikimedia Foundation MediaWiki.
This vulnerability is associated with program files includes/Actions/ActionEntryPoint.Php, includes/Request/FauxResponse.Php.
This issue affects MediaWiki: from * before 1.43.7, 1.44.4, 1.45.2.
Weakness: CWE-668
Which versions are affected by CVE-2026-34095?
It affects 1 product.
Products include Mediawiki Mediawiki.
How do I fix CVE-2026-34095?
Upgrade to a fixed version.
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-34095 being exploited?
There is no known exploitation of CVE-2026-34095 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as DEBIAN-CVE-2026-34095, GHSA-596g-9fv7-mq62, UBUNTU-CVE-2026-34095.