Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-34500

An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1. XSS can occur through an interface message. Error messages (in the $err var) are not escaped before being passed to Html::rawElement() in the getError() function in the Hooks class.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-34500
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:40 UTC · Revision 1

Source evidence

CVE-2024-34500

core-osv · Original source

Published 5 May 2024, 00:00 UTC

An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1. XSS can occur through an interface message. Error messages (in the $err var) are not escaped before being passed to Html::rawElement() in the getError() function in the Hooks class.

osv:CVE-2024-34500
Complete source record
{
  "id": "b887c534df58550602c8da5a9e019ab9741fa842d00756a232b66f8264cd2a0a",
  "url": "https://osv.dev/vulnerability/CVE-2024-34500",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-34500",
    "summary": "An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1. XSS can occur through an interface message. Error messages (in the $err var) are not escaped before being passed to Html::rawElement() in the getError() function in the Hooks class.",
    "evidence": "osv:CVE-2024-34500",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-34500",
      "aliases": [
        "BIT-mediawiki-2024-34500",
        "CVE-2024-34500",
        "GHSA-wcx3-63mm-h8x6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wikimedia/mediawiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3406e1b7d014d22f2a68237ebf447a88b5ac74ed"
                },
                {
                  "introduced": "468dd69d6ee8e84b9ab26d0ee3d52f215faaf0d4"
                },
                {
                  "fixed": "b886c60c6af24561c805d1d7a2dd6cc0618a53c7"
                },
                {
                  "introduced": "8ce0ec548b747aad503f8689223277dd1c697c7f"
                },
                {
                  "fixed": "36da63d008b7a2f9de929113b99bc7059831cb90"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.39.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.40.0"
                      },
                      {
                        "fixed": "1.40.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.41.0"
                      },
                      {
                        "fixed": "1.41.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.41.0",
            "1.40.1",
            "1.39.5",
            "1.40.0",
            "1.39.4",
            "1.39.3",
            "1.39.2",
            "1.39.1",
            "1.39.0",
            "1.39.0-rc.1",
            "1.39.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-2024-34500.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.577491225Z",
      "provider": "osv",
      "references": [
        "https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UnlinkedWikibase/+/1002175",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/",
        "https://phabricator.wikimedia.org/T357203",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34500.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-34500"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34500.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-34500",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521437,
  "published_at": "2024-05-05T00:00:00+00:00"
}