CVE-2024-34500
JSON

6.1medium

MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-wcx3-63mm-h8x6BIT-MEDIAWIKI-2024-34500

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
samwilson/unlinked-wikibase (Packagist)before 1.42.0GitHub Advisory Database
mediawiki mediawikibefore 1.39.6, from 1.40.0 before 1.40.2, from 1.41.0 before 1.41.1NVD
fedoraproject fedora40NVD
mediawiki (Bitnami)before 1.41.1Bitnami Vulnerability Database

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.42.0. 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.

NVD (es)

Se descubrió un problema en la extensión UnlinkedWikibase en MediaWiki antes de 1.39.6, 1.40.x antes de 1.40.2 y 1.41.x antes de 1.41.1. XSS puede ocurrir a través de un mensaje de interfaz. Los mensajes de error (en la $err var) no se escapan antes de pasarse a Html::rawElement() en la función getError() en la clase Hooks.

References

https://phabricator.wikimedia.org/T357203issue-tracking, vendor-advisory, web
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UnlinkedWikibase/+/1002175patch, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/third-party-advisory, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/web
https://nvd.nist.gov/vuln/detail/CVE-2024-34500advisory, web
https://github.com/github/advisory-database/pull/5310web
https://gerrit.wikimedia.org/r/mediawiki/extensions/UnlinkedWikibase.gitpackage
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISYweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISYweb

Sources

SourceRecordLicence
CVE ListCVE-2024-34500 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-wcx3-63mm-h8x6 changed 2025-11-04CC-BY-4.0
NVDCVE-2024-34500 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MEDIAWIKI-2024-34500 changed 2025-11-06Apache-2.0