CVE-2026-132736 in MediaWikiinfo

Summary

by MITRE • 11/25/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The identified vulnerability represents a critical information disclosure flaw within the Wikimedia Foundation's MediaWiki software, specifically affecting versions ranging from 1.43.0 up to but not including 1.43.12, as well as subsequent releases in the 1.45, 1.46, and 1.47 branches prior to their respective patch levels. This security issue is rooted in the REST API subsystem of MediaWiki, which serves as a modern interface for programmatic access to wiki content and metadata. The vulnerability resides within several core PHP files responsible for handling HTTP requests and validating input data, including includes/Rest/Handler.php, includes/Rest/Handler/ParsoidHandler.php, includes/Rest/Module/Module.php, and includes/Rest/Validator/UnsupportedContentTypeBodyValidator.php. These components are integral to the processing of REST API endpoints that allow external applications and scripts to interact with wiki pages in a structured manner.

The technical nature of this flaw is classified as an exposure of sensitive information to an unauthorized actor, which aligns directly with CWE-200 from the Common Weakness Enumeration standard. In practical terms, the vulnerability likely stems from insufficient sanitization or filtering of error messages and internal state data returned by the REST API when processing malformed requests or unsupported content types. When a client submits a request that triggers an exception within these handler modules, the system may inadvertently return detailed stack traces, file paths, database query structures, or other internal configuration details to the requester. This behavior transforms what should be generic error responses into rich sources of intelligence for potential attackers, revealing the underlying technology stack and architecture in use.

From a threat modeling perspective, this vulnerability facilitates reconnaissance activities that are commonly associated with the ATT&CK technique T1592, which covers Gather Victim Host Information. By obtaining detailed internal error messages, an attacker can map out the server environment, identify specific library versions, and potentially locate other vulnerable endpoints or misconfigurations. While the immediate impact may not involve direct code execution or data exfiltration of user content, it significantly lowers the barrier for further exploitation attempts. Knowledge of internal file structures and software versioning allows attackers to tailor subsequent attacks against known vulnerabilities in those specific components, thereby increasing the overall risk profile of the deployment.

The operational impact extends beyond mere information leakage. In high-traffic wiki environments or public-facing wikis used by organizations with strict compliance requirements such as GDPR or HIPAA, exposing internal technical details can be considered a violation of security best practices and potentially regulatory guidelines regarding data protection principles. It undermines the principle of least privilege by granting unauthorized actors visibility into system internals that should remain opaque to external users. Furthermore, detailed error messages can aid in debugging attacks where an attacker iteratively modifies inputs to trigger specific errors, using the feedback loop to refine their exploitation strategy against other potential weaknesses in the application logic or database layer.

Mitigation for this vulnerability requires immediate action by administrators and maintainers of affected MediaWiki instances. The primary remediation step is to upgrade the MediaWiki installation to a patched version that addresses these REST API handler flaws, specifically versions 1.43.12 or later, 1.45.7 or later, 1.46.3 or later, and ensuring that any deployment of version 1.47 includes the necessary security patches. For organizations unable to upgrade immediately due to compatibility constraints with extensions or custom code, a temporary mitigation involves configuring web server settings such as Nginx or Apache to suppress detailed error pages for API endpoints. This can be achieved by setting HTTP headers like X-Content-Type-Options and ensuring that PHP's display_errors directive is set to off in production environments while log_errors remains on so that details are recorded securely on the server rather than returned to the client. Regular security audits of REST API responses should also be conducted to ensure no sensitive data leaks through other endpoints, maintaining a robust defense-in-depth posture against information disclosure attacks.

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!