NetSight
high8.7

CVE-2026-132736

MediaWiki REST API: Content-Type header is expanded as wikitext before the read check, so anyone can read private wikis

Impact

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Rest/Handler.php, includes/Rest/Handler/ParsoidHandler.php, includes/Rest/Module/Module.php, includes/Rest/Validator/UnsupportedContentTypeBodyValidator.php. This issue affects MediaWiki: from 1.43.0 before 1.43.12, from 1.45.0 before 1.45.7, from 1.46.0 before 1.46.3, 1.47.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read.

Affected products (Wikimedia Foundation)

ProductAffected versions
MediaWiki
from 1.43.0 before 1.43.12
from 1.45.0 before 1.45.7
from 1.46.0 before 1.46.3
Version 1.47

Weakness classification

References