Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-35475

In MediaWiki before 1.35.1, the messages userrights-expiry-current and userrights-expiry-none can contain raw HTML. XSS can happen when a user visits Special:UserRights but does not have rights to change all userrights, and the table on the left side has unchangeable groups in it. (The right column with the changeable groups is not affected and is escaped correctly.)

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-35475
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:52 UTC · Revision 1

Source evidence

CVE-2020-35475

core-osv · Original source

Published 18 Dec 2020, 08:15 UTC

In MediaWiki before 1.35.1, the messages userrights-expiry-current and userrights-expiry-none can contain raw HTML. XSS can happen when a user visits Special:UserRights but does not have rights to change all userrights, and the table on the left side has unchangeable groups in it. (The right column with the changeable groups is not affected and is escaped correctly.)

osv:CVE-2020-35475
Complete source record
{
  "id": "bd62cade80a080eb44db02c30c67d1b0fe968eae7c7d88c162440e9901985595",
  "url": "https://osv.dev/vulnerability/CVE-2020-35475",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-35475",
    "summary": "In MediaWiki before 1.35.1, the messages userrights-expiry-current and userrights-expiry-none can contain raw HTML. XSS can happen when a user visits Special:UserRights but does not have rights to change all userrights, and the table on the left side has unchangeable groups in it. (The right column with the changeable groups is not affected and is escaped correctly.)",
    "evidence": "osv:CVE-2020-35475",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-35475",
      "aliases": [
        "BIT-mediawiki-2020-35475",
        "CVE-2020-35475"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3e26b5ff1468f98cf306575d125b29a6645bf2ea"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.35.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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-2020-35475.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.916424941Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STT5Z4A3BCXVH3WIPICWU2FP4IPIMUPC/",
        "https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html",
        "https://www.debian.org/security/2020/dsa-4816",
        "https://phabricator.wikimedia.org/T268917"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-35475",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430796,
  "published_at": "2020-12-18T08:15:15.137+00:00"
}