Skip to content
Heist/ feed
Back to feed
High

Stored XSS leads to privilege escalation in MediaWiki v1.40.0

Type: advisorySources: OSV

Mediawiki v1.40.0 does not validate namespaces used in XML files. Therefore, if the instance administrator allows XML file uploads, a remote attacker with a low-privileged user account can use this exploit to become an administrator by sending a malicious link to the instance administrator.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-3550
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:51 UTC · Revision 1

Source evidence

Stored XSS leads to privilege escalation in MediaWiki v1.40.0

core-osv · Original source

Published 25 Sept 2023, 15:20 UTC

Mediawiki v1.40.0 does not validate namespaces used in XML files. Therefore, if the instance administrator allows XML file uploads, a remote attacker with a low-privileged user account can use this exploit to become an administrator by sending a malicious link to the instance administrator.

osv:CVE-2023-3550
Complete source record
{
  "id": "e50a31582439cea54a10e0d8147f82229acbec4e21f8d8481b8416b11f62bdbb",
  "url": "https://osv.dev/vulnerability/CVE-2023-3550",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Stored XSS leads to privilege escalation in MediaWiki v1.40.0",
    "summary": "Mediawiki v1.40.0 does not validate namespaces used in XML files. Therefore, if the instance administrator allows XML file uploads, a remote attacker with a low-privileged user account can use this exploit to become an administrator by sending a malicious link to the instance administrator.",
    "evidence": "osv:CVE-2023-3550",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-3550",
      "aliases": [
        "BIT-mediawiki-2023-3550",
        "CVE-2023-3550"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "468dd69d6ee8e84b9ab26d0ee3d52f215faaf0d4"
                },
                {
                  "last_affected": "468dd69d6ee8e84b9ab26d0ee3d52f215faaf0d4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:1.40.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.40.0-NA"
                      },
                      {
                        "last_affected": "1.40.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.40.0-NA",
            "1.40.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3550.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.337561524Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/11/msg00027.html",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/",
        "https://www.mediawiki.org/wiki/MediaWiki/",
        "https://fluidattacks.com/advisories/blondie/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3550.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-3550",
        "https://www.debian.org/security/2023/dsa-5520"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Fluid Attacks",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.40.0"
                  },
                  {
                    "last_affected": "1.40.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3550.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-3550",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508136,
  "published_at": "2023-09-25T15:20:27.351+00:00"
}