CVE-2021-30159

medium
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-30159

OS impact

OSVersionStatusFixed in
arch archfixed1.35.2-1
debian debianbookwormfixed1:1.35.2-1
debian debianbullseyefixed1:1.35.2-1
debian debianforkyfixed1:1.35.2-1
debian debiansidfixed1:1.35.2-1
debian debiantrixiefixed1:1.35.2-1

References

Verify integrity in audit chain (admin only). AS-IS.