Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-28202

An XSS issue was discovered in MediaWiki before 1.35.6, 1.36.x before 1.36.4, and 1.37.x before 1.37.2. The widthheight, widthheightpage, and nbytes properties of messages are not escaped when used in galleries or Special:RevisionDelete.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-28202
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 03:53 UTC · Revision 1

Source evidence

CVE-2022-28202

core-osv · Original source

Published 30 Mar 2022, 00:00 UTC

An XSS issue was discovered in MediaWiki before 1.35.6, 1.36.x before 1.36.4, and 1.37.x before 1.37.2. The widthheight, widthheightpage, and nbytes properties of messages are not escaped when used in galleries or Special:RevisionDelete.

osv:CVE-2022-28202
Complete source record
{
  "id": "e664a2c78f07d013b7d413f988fdfe6d8fb55d686b77e26ea6272753cfd826ac",
  "url": "https://osv.dev/vulnerability/CVE-2022-28202",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-28202",
    "summary": "An XSS issue was discovered in MediaWiki before 1.35.6, 1.36.x before 1.36.4, and 1.37.x before 1.37.2. The widthheight, widthheightpage, and nbytes properties of messages are not escaped when used in galleries or Special:RevisionDelete.",
    "evidence": "osv:CVE-2022-28202",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-28202",
      "aliases": [
        "BIT-mediawiki-2022-28202",
        "CVE-2022-28202"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "76572f7b8bc7bd3a9dfb73e3d9a08e56a06266f7"
                },
                {
                  "introduced": "bc542ec6d8573dfb906b468901799e0017875f1e"
                },
                {
                  "fixed": "0ab2de45d1de5e84eace4ab210b6b67b4fc4bf9d"
                },
                {
                  "introduced": "b5643675baaeec999e68c20fdde1dc8467c7c920"
                },
                {
                  "fixed": "364e92c494bf4f60c6ed4a876262d46c570c0770"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.35.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.36.0"
                      },
                      {
                        "fixed": "1.36.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.37.0"
                      },
                      {
                        "fixed": "1.37.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.36.3",
            "1.37.1",
            "1.35.5",
            "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-2022-28202.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.995249456Z",
      "provider": "osv",
      "references": [
        "https://phabricator.wikimedia.org/T297543",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28202.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PT4CHJKOQOVMI65TSNZRNV6FIWU7SGZD/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-28202",
        "https://security.gentoo.org/glsa/202305-24",
        "https://www.debian.org/security/2022/dsa-5246",
        "https://lists.debian.org/debian-lts-announce/2022/09/msg00027.html"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28202.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-28202",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 500172,
  "published_at": "2022-03-30T00:00:00+00:00"
}