Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-35197

In MediaWiki before 1.31.15, 1.32.x through 1.35.x before 1.35.3, and 1.36.x before 1.36.1, bots have certain unintended API access. When a bot account has a "sitewide block" applied, it is able to still "purge" pages through the MediaWiki Action API (which a "sitewide block" should have prevented).

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

Source evidence

CVE-2021-35197

core-osv · Original source

Published 2 Jul 2021, 13:15 UTC

In MediaWiki before 1.31.15, 1.32.x through 1.35.x before 1.35.3, and 1.36.x before 1.36.1, bots have certain unintended API access. When a bot account has a "sitewide block" applied, it is able to still "purge" pages through the MediaWiki Action API (which a "sitewide block" should have prevented).

osv:CVE-2021-35197
Complete source record
{
  "id": "5a803d4c60a561a7f85a547a2926fe27578e174f05b229af4f4d593c5b3cb877",
  "url": "https://osv.dev/vulnerability/CVE-2021-35197",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-35197",
    "summary": "In MediaWiki before 1.31.15, 1.32.x through 1.35.x before 1.35.3, and 1.36.x before 1.36.1, bots have certain unintended API access. When a bot account has a \"sitewide block\" applied, it is able to still \"purge\" pages through the MediaWiki Action API (which a \"sitewide block\" should have prevented).",
    "evidence": "osv:CVE-2021-35197",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-35197",
      "aliases": [
        "BIT-mediawiki-2021-35197",
        "CVE-2021-35197"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "db844fb107e8a74e0c8a7455012a20f977fa790d"
                },
                {
                  "introduced": "0fbb878ef366477535a709b0c2564bdcf4b176d1"
                },
                {
                  "fixed": "923676858a9521c96b7051641010d920796bb408"
                },
                {
                  "introduced": "bc542ec6d8573dfb906b468901799e0017875f1e"
                },
                {
                  "fixed": "b6cf6b337262ed84b76e96ed0f7ccbb702a46e9c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.31.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.32.0"
                      },
                      {
                        "fixed": "1.35.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.36.0"
                      },
                      {
                        "fixed": "1.36.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.36.0",
            "1.31.14",
            "1.35.2",
            "1.31.13",
            "1.31.12",
            "1.35.1",
            "1.31.11",
            "1.31.8",
            "1.35.0",
            "1.31.10",
            "1.31.9",
            "1.35.0-rc.3",
            "1.35.0-rc.2",
            "1.35.0-rc.1",
            "1.35.0-rc.0",
            "1.31.7",
            "1.31.6",
            "1.31.5",
            "1.31.4",
            "1.31.3",
            "1.31.2",
            "1.31.1",
            "1.31.0",
            "1.31.0-rc.2",
            "1.31.0-rc.1",
            "1.31.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-35197.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:32.710032051Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CJDYJQWT43GBD6GNQ4OW7JOZ6WQ6DZTN/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MDBPECBWN6LWNSWIQMVXK6PP4YFEUYHA/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QNEAI2T3Y65I55ZB6UE6RMC662RZTGRX/",
        "https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce%40lists.wikimedia.org/thread/YR3X4L2CPSEJVSY543AWEO65TD6APXHP/",
        "https://lists.debian.org/debian-lts-announce/2021/10/msg00003.html",
        "https://security.gentoo.org/glsa/202107-40",
        "https://www.debian.org/security/2021/dsa-4979",
        "https://phabricator.wikimedia.org/T280226"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  },
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  },
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  },
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-35197",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433092,
  "published_at": "2021-07-02T13:15:07.727+00:00"
}