CVE-2021-44857 in Mediawiki
An issue was discovered in MediaWiki before 1.35.5, 1.36.x before 1.36.3, and 1.37.x before 1.37.1. It is possible to use action=mcrundo followed by action=mcrrestore to replace the content of any arbitrary page (that the user doesn't have edit rights for). This applies to any public wiki, or a private wiki that has...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mediawiki | Mediawiki | < 1.35.5 ≥ 1.36.0, < 1.36.3 ≥ 1.37.0, < 1.37.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in MediaWiki before 1.35.5, 1.36.x before 1.36.3, and 1.37.x before 1.37.1. It is possible to use action=mcrundo followed by action=mcrrestore to replace the content of any arbitrary page (that the user doesn't have edit rights for). This applies to any public wiki, or a private wiki that has at least one page set in $wgWhitelistRead.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-44857 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-072496-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2021-12-17 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in MediaWiki allows unauthorized users to replace the content of any page, even if they do not have edit rights, by using the action=mcrundo followed by action=mcrrestore actions.
The attack involves exploiting the MediaWiki API to perform actions that are normally restricted to users with edit permissions. By chaining the 'mcrundo' and 'mcrrestore' actions, an attacker can overwrite the content of any page that is publicly accessible or listed in $wgWhitelistRead.
Questions
What is CVE-2021-44857?
A vulnerability in MediaWiki allows unauthorized users to replace the content of any page, even if they do not have edit rights, by using the action=mcrundo followed by action=mcrrestore actions.
What is the CVSS score for CVE-2021-44857?
CVE-2021-44857 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.9%.
Is CVE-2021-44857 actively exploited?
No confirmed active exploitation of CVE-2021-44857 as of 2026-05-30.
How do I remediate CVE-2021-44857?
Priority: HIGH. Advisory: https://www.mediawiki.org/wiki/2021-12_security_release/FAQ PSIRT: [email protected]
What systems are affected by CVE-2021-44857?
CVE-2021-44857 affects Mediawiki Mediawiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mediawiki","product":"Mediawiki","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.