Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain high-privilege MediaWiki import credentials
-
DeliveryCraft XML import file with serialized PHP gadget chain
-
ExploitSubmit malicious file via Special:Import
-
ExecutionWikiImporter/WikiRevision deserializes payload
-
PersistPHP object injection triggers unintended class instantiation
-
ImpactAchieve high-integrity data manipulation or code execution on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated MediaWiki account holding high-privilege import permissions - specifically membership in the 'import' or 'importupload' user groups, which are not granted to standard MediaWiki users by default and must be explicitly assigned by a bureaucrat or sysop. The attacker must be able to submit a crafted wiki XML import file (via Special:Import or the API equivalent) that contains malicious serialized PHP data targeting the WikiImporter.php or WikiRevision.php deserialization path, or separately trigger the LogEntryBase.php deserialization path through log manipulation. AC:H indicates a specific gadget chain must be identified and crafted for the target's PHP class environment and extension set - not a trivial precondition. Exploitation is limited by: (1) mandatory high-privilege authentication (PR:H), ruling out unauthenticated or low-privilege scenarios; (2) high attack complexity requiring tailored gadget chain research; (3) the absence of any known public exploit or PoC code at time of analysis. The CVSS vector provides no indication that default-configuration exploitation is possible without at minimum administrator-level access. |
| Impact | The CVSS 4.0 score of 5.9 with vector AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:H/VA:L/SC:L/SI:L/SA:L reflects a vulnerability with meaningful integrity impact but substantially constrained real-world exploitability. The PR:H rating is the dominant risk limiter: exploitation is restricted to users holding high-privilege MediaWiki roles (typically those in the 'import' or 'importupload' groups, which are not granted to ordinary users), greatly narrowing the viable attacker pool to insiders or accounts compromised after authentication. AC:H further constrains the attack, indicating that beyond obtaining credentials, the attacker must develop or obtain a working PHP gadget chain tailored to the target installation's class environment and extensions. The VI:H (High integrity impact) is noteworthy - successful exploitation can meaningfully alter wiki content or application state. Subsequent-system impacts (SC:L/SI:L/SA:L) suggest limited spillover beyond the MediaWiki application itself. No EPSS score was provided in the input data; no KEV listing exists; no public POC has been identified. Despite deserialization vulnerabilities historically being pathways to RCE, the combination of PR:H and AC:H puts this in a 'real but not urgent for most deployments' category - most at risk are multi-tenant wiki farms where admin-level accounts may be less tightly controlled. |
| Exploit ScenarioDerived | A malicious or compromised MediaWiki administrator with import privileges crafts a wiki XML export file containing embedded serialized PHP objects targeting a viable gadget chain within the MediaWiki codebase or its installed PHP dependencies. The attacker uploads this file via Special:Import; WikiImporter.php processes the file and WikiRevision.php reconstructs revision data, triggering deserialization of the malicious payload and allowing the attacker to manipulate application state or achieve code execution on the server. No public exploit code exists at time of analysis, meaning exploitation requires original PHP gadget-chain research against the specific target environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Deserialization of untrusted data in MediaWiki's wiki import subsystem and logging infrastructure exposes installations to PHP object injection, with high integrity impact on affected systems. Specifically, the WikiImporter, WikiRevision, and LogEntryBase components process attacker-controlled serialized data without sufficient validation, allowing a high-privileged authenticated user to trigger unintended object instantiation or code execution paths. No active exploitation (CISA KEV) or public proof-of-concept has been identified at time of analysis; however, vendor-confirmed patches are available in releases 1.43.9, 1.44.6, 1.45.4, and 1.46.0.
RemediationAI
Upgrade MediaWiki to the appropriate patched release for your branch: 1.43.9 (for 1.43.x deployments), 1.44.6 (for 1.44.x), 1.45.4 (for 1.45.x), or 1.46.0 (for main/1.46.x), as confirmed by the vendor at https://phabricator.wikimedia.org/T422244. As a compensating control pending upgrade, restrict or revoke the 'import' and 'importupload' user rights in LocalSettings.php using $wgGroupPermissions to ensure only the minimum necessary set of trusted administrators can trigger the WikiImporter code path - this eliminates the most direct attack vector but does not address the LogEntryBase.php path if it is independently exploitable. Disabling the import feature entirely (removing import permissions from all groups) prevents exploitation via the import subsystem with no impact on normal wiki editing, but will block legitimate wiki content migration workflows. Monitor for unexpected deserialization-related PHP errors or unusual import activity in server logs as a detective control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MediaWiki is the PHP-based wiki engine underpinning Wikipedia and tens of thousands of public and private wiki deployments. The vulnerability is rooted in CWE-502 (Deserialization of Untrusted Data), a class of flaw where PHP's object deserialization mechanisms (e.g., unserialize()) process attacker-influenced input without sanitization, enabling PHP Object Injection - a prerequisite for exploiting gadget chains in the loaded codebase. The three implicated files reveal the attack surface: includes/Import/WikiImporter.php orchestrates the parsing and processing of XML wiki export files; includes/Import/WikiRevision.php handles individual revision objects reconstructed from import data; and includes/Logging/LogEntryBase.php is the base class for MediaWiki's structured log system. The CPE (cpe:2.3:a:wikimedia_foundation:mediawiki:*:*:*:*:*:*:*:*) confirms all platform variants are affected. The root cause is likely that serialized PHP data embedded in import XML or log entries is passed to an unsafe deserialization function, allowing instantiation of arbitrary PHP objects from the application's class hierarchy.
Know when Mediawiki gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:H/VA:L/SC:L/SI:L/SA:L
PR:H required for import privileges; AC:H for gadget-chain crafting; S:C because PHP deserialization can affect the underlying server beyond the MediaWiki application boundary.
Primary rating from Vendor (wikimedia-foundation).
CVSS VectorVendor: wikimedia-foundation
Lifecycle Timeline
1DescriptionCVE.org
Deserialization of untrusted data vulnerability in Wikimedia Foundation MediaWiki.
This vulnerability is associated with program files includes/Import/WikiImporter.Php, includes/Import/WikiRevision.Php, includes/Logging/LogEntryBase.Php.
This issue affects MediaWiki: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
EUVD-2026-41031
GHSA-28rr-rpqp-g8c8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB