CVE-2021-30159 json
An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2.
published 2021-04-09 5 y ago modified 2026-06-17 4 mo ago also BIT-mediawiki-2021-30159 , EUVD-2021-17095
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. Users can bypass intended restrictions on deleting pages in certain "fast double move" situations. MovePage::isValidMoveTarget() uses FOR UPDATE, but it's only called if Title::getArticleID() returns non-zero with no special flags. Next, MovePage::moveToInternal() will delete the page if getArticleID(READ_LATEST) is non-zero. Therefore, if the page is missing in the replica DB, isValidMove() will return true, and then moveToInternal() will unconditionally delete the page if it can be found in the master.
Patch / fix
- bitnami mediawiki 1.31.12, 1.35.2
- mediawiki mediawiki 1.31.12, 1.35.2
- mediawiki Debian 14, Debian 13, Debian 12 1:1.35.2-1
debian advisories DEBIAN-CVE-2021-30159
- mediawiki Arch Linux 1.35.2-1
arch linux advisories AVG-1775
- phabricator.wikimedia.org/T272386 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-30159 updated cvss 6.5
mediawiki: users can bypass intended restrictions on deleting pages in certain "fast double move" situations
-
Red Hat OpenShift Container Platform 3.11 mediawikiaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 mediawikiaffected: no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- phabricator.wikimedia.org https://phabricator.wikimedia.org/T272386 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mediawiki | <1.31.12 >=1.32.0, <1.35.2 |
1.31.12 1.35.2 |
References
-
phabricator.wikimedia.org
/T272386
exploit, patch, vendor-advisory, web
-
debian.org
/security/2021/dsa-4889
vendor-advisory, third-party-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/26UJGHF7LJDOCQN6A3Z4PM7PYRKENJHE/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2OMSV7B2TCFBOCICN3B4SMQP5HVRJQIT/
vendor-advisory, web
-
security.gentoo.org
/glsa/202107-40
vendor-advisory, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2021/05/msg00003.html
mailing-list, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2021/05/msg00006.html
mailing-list, third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-30159
web
Sources
- CVE List CVE-2021-30159
- NVD CVE-2021-30159
- OSV BIT-mediawiki-2021-30159
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.