{"id":"CVE-2021-44857","aliases":["BIT-mediawiki-2021-44857","DEBIAN-CVE-2021-44857","DSA-5021-1","EUVD-2021-31660","GHSA-x4wg-g4fv-f8m6","MGASA-2021-0568","UBUNTU-CVE-2021-44857"],"status":"published","title":"An issue was discovered in MediaWiki before 1.35.5, 1.36.x before 1.36.3, and 1.37.x before 1.37...","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00902,"percentile":0.60055,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-862"],"published":"2021-12-15T00:00:00Z","modified":"2026-10-24T10:30:39Z","fixes":[{"ecosystem":"Bitnami","package":"mediawiki","fixed_in":["1.35.5","1.36.3","1.37.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mediawiki","fixed_in":["1:1.35.5-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mediawiki","fixed_in":["1:1.35.5-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mediawiki","fixed_in":["1:1.35.5-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"mediawiki","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.35.5"},{"introduced":"1.36.0"},{"fixed":"1.36.3"},{"introduced":"1.37.0"},{"fixed":"1.37.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.35.5-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.35.5-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.35.5-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.35.4-1+deb11u2"}]}],"versions":["1:1.35.2-1","1:1.35.3-1","1:1.35.4-1","1:1.35.4-1~deb11u1"],"bundled":3},{"source":"osv","ecosystem":"Mageia:8","package":"mediawiki","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35.5-1.mga8"}]}],"bundled":6}],"products":[{"vendor":"mediawiki","product":"mediawiki"}],"references":[{"url":"https://phabricator.wikimedia.org/T297322","tags":["x_transferred","Third Party Advisory","web","advisory","report"]},{"url":"https://www.mediawiki.org/wiki/2021-12_security_release/FAQ","tags":["x_transferred","Vendor Advisory","web","advisory"]},{"url":"https://security.gentoo.org/glsa/202305-24","tags":["vendor-advisory","x_transferred","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44857","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x4wg-g4fv-f8m6","tags":["report"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-44857","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0568.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29772","tags":["report"]},{"url":"https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/thread/QEN3EK4JXAVJMJ5GF3GYOAKNJPEKFQYA/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-44857","tags":["report"]},{"url":"https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/QEN3EK4JXAVJMJ5GF3GYOAKNJPEKFQYA/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-44857","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-44857","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.","status":"published","published":"2021-12-17T00:00:00Z","modified":"2024-08-04T04:32:13.362Z","updated_at":"2026-11-02T14:33:01.166399Z"}],"euvd":[{"id":"EUVD-2021-31660","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.","status":"published","published":"2021-12-17T00:00:00Z","modified":"2024-08-04T04:32:13Z","updated_at":"2026-11-03T03:08:28.560815Z"}],"ghsa":[{"id":"GHSA-x4wg-g4fv-f8m6","title":"An issue was discovered in MediaWiki before 1.35.5, 1.36.x before 1.36.3, and 1.37.x before 1.37...","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.","status":"published","published":"2021-12-18T00:01:07Z","modified":"2023-05-22T00:30:19Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-269","CWE-862"],"updated_at":"2026-11-02T14:54:35.559556Z"}],"nvd":[{"id":"CVE-2021-44857","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.","status":"published","published":"2021-12-17T04:15:39.137Z","modified":"2026-06-17T04:12:54.07Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:07:02.566991Z"}],"osv":[{"id":"CVE-2021-44857","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.","status":"published","published":"2021-12-17T04:15:39.137Z","modified":"2026-10-24T10:30:39.389602924Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.877444Z"},{"id":"DEBIAN-CVE-2021-44857","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.","status":"published","published":"2021-12-17T04:15:39.137Z","modified":"2026-10-23T18:04:00.534792391Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"UBUNTU-CVE-2021-44857","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.","status":"withdrawn","published":"2021-12-17T04:15:00Z","modified":"2025-07-16T07:43:27.149034Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:30.277322Z"},{"id":"BIT-mediawiki-2021-44857","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.","status":"published","published":"2024-03-06T11:09:25.578Z","modified":"2025-04-03T14:40:37.652Z","updated_at":"2026-11-02T15:28:33.072289Z"},{"id":"DSA-5021-1","title":"mediawiki - security update","status":"published","published":"2021-12-15T00:00:00Z","modified":"2026-03-09T02:08:50.929549Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"MGASA-2021-0568","title":"Updated mediawiki packages fix security vulnerabilities","description":"Updated mediawiki packages fix security vulnerabilities:\n\n== Security fixes ==\n* (T292763. CVE-2021-44854) REST API incorrectly publicly caches\n  autocomplete search results from private wikis.\n* (T271037, CVE-2021-44856) Title blocked in AbuseFilter can be created via\n  Special:ChangeContentModel.\n* (T297322, CVE-2021-44857) Unauthorized users can use action=mcrundo to\n  replace the content of arbitrary pages.\n* (T297322, CVE-2021-44858) Unauthorized users can view contents of private\n   wikis using various actions.\n* (T297574, CVE-2021-45038) Unauthorized users can access private wiki\n  contents using rollback action\n\n=== Extension security fixes ===\n* (T293589, CVE-2021-44855) Blind Stored XSS in VisualEditor media dialog.\n* (T294686) Special:Nuke doesn't actually delete pages.\n","status":"published","published":"2021-12-19T12:26:08Z","modified":"2026-04-16T04:41:07.079064181Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
