{"id":"GHSA-wcx3-63mm-h8x6","aliases":["BIT-mediawiki-2024-34500","CVE-2024-34500"],"title":"MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability","description":"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.","severity":"medium","score":6.1,"published":"2024-05-05T21:30:30.000Z","modified":"2025-11-04T18:49:56.869Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"samwilson/unlinked-wikibase","ranges":[{"events":[{"introduced":"0"},{"fixed":"1.42.0"}],"type":"ECOSYSTEM"}],"versions":["1.0.0"],"fixed":["1.42.0"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-34500","https://github.com/github/advisory-database/pull/5310","https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UnlinkedWikibase/+/1002175","https://gerrit.wikimedia.org/r/mediawiki/extensions/UnlinkedWikibase.git","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY","https://phabricator.wikimedia.org/T357203"],"sources":[{"name":"OSV","id":"GHSA-wcx3-63mm-h8x6","modified":"2025-11-04T18:49:56.869692Z","url":"https://osv.dev/vulnerability/GHSA-wcx3-63mm-h8x6"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.3}]}