Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-44857

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-44857
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:25 UTC · Revision 1

Source evidence

CVE-2021-44857

core-osv · Original source

Published 17 Dec 2021, 04:15 UTC

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.

osv:CVE-2021-44857
Complete source record
{
  "id": "b4ec4199a3693124ab2dc4b72ebc2c19673f15dcd258b5a332ccd5a117a1d66a",
  "url": "https://osv.dev/vulnerability/CVE-2021-44857",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-44857",
    "summary": "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.",
    "evidence": "osv:CVE-2021-44857",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-44857",
      "aliases": [
        "BIT-mediawiki-2021-44857",
        "CVE-2021-44857"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8b874ff6c6ed5f209dfd0c825c5b310ef1ecca2f"
                },
                {
                  "introduced": "bc542ec6d8573dfb906b468901799e0017875f1e"
                },
                {
                  "fixed": "b24aa9d8f87e8762c8dedc2f30f85383b77d4725"
                },
                {
                  "introduced": "b5643675baaeec999e68c20fdde1dc8467c7c920"
                },
                {
                  "fixed": "f8e3a1e258ab6beabb18dca2af983ef1647970c9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.35.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.36.0"
                      },
                      {
                        "fixed": "1.36.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.37.0"
                      },
                      {
                        "fixed": "1.37.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.37.0",
            "1.36.2",
            "1.35.4",
            "1.36.1",
            "1.35.3",
            "1.36.0",
            "1.35.2",
            "1.35.1",
            "1.35.0",
            "1.35.0-rc.3",
            "1.35.0-rc.2",
            "1.35.0-rc.1",
            "1.35.0-rc.0",
            "test-hashar-for-ci",
            "1.6.0",
            "1.5.0beta4",
            "1.5.0beta3",
            "1.5.0beta2",
            "1.5.0beta1",
            "1.5.0alpha2",
            "1.5.0alpha1",
            "1.3.0beta1",
            "1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-44857.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:39.389602924Z",
      "provider": "osv",
      "references": [
        "https://phabricator.wikimedia.org/T297322",
        "https://security.gentoo.org/glsa/202305-24",
        "https://www.mediawiki.org/wiki/2021-12_security_release/FAQ"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-44857",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434657,
  "published_at": "2021-12-17T04:15:39.137+00:00"
}