{"id":"CVE-2024-34500","details":"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.","aliases":["BIT-mediawiki-2024-34500","GHSA-wcx3-63mm-h8x6"],"modified":"2026-08-12T03:51:49.220500125Z","published":"2024-05-05T00:00:00Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"1.39.6"},{"introduced":"1.40.x"},{"fixed":"1.40.2"},{"introduced":"1.41.x"},{"fixed":"1.41.1"}],"source":"DESCRIPTION"}],"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34500.json"},"references":[{"type":"WEB","url":"https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UnlinkedWikibase/+/1002175"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/"},{"type":"WEB","url":"https://phabricator.wikimedia.org/T357203"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34500.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34500"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wikimedia/mediawiki","events":[{"introduced":"0"},{"fixed":"3406e1b7d014d22f2a68237ebf447a88b5ac74ed"},{"introduced":"468dd69d6ee8e84b9ab26d0ee3d52f215faaf0d4"},{"fixed":"b886c60c6af24561c805d1d7a2dd6cc0618a53c7"},{"introduced":"8ce0ec548b747aad503f8689223277dd1c697c7f"},{"fixed":"36da63d008b7a2f9de929113b99bc7059831cb90"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.39.6"},{"introduced":"1.40.0"},{"fixed":"1.40.2"},{"introduced":"1.41.0"},{"fixed":"1.41.1"}]}}],"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}