{"id":"GHSA-wcx3-63mm-h8x6","summary":"MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability","details":"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.","aliases":["BIT-mediawiki-2024-34500","CVE-2024-34500"],"modified":"2025-11-04T18:49:56.869692Z","published":"2024-05-05T21:30:30Z","database_specific":{"nvd_published_at":"2024-05-05T19:15:07Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-12-04T22:46:01Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34500"},{"type":"WEB","url":"https://github.com/github/advisory-database/pull/5310"},{"type":"WEB","url":"https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UnlinkedWikibase/+/1002175"},{"type":"PACKAGE","url":"https://gerrit.wikimedia.org/r/mediawiki/extensions/UnlinkedWikibase.git"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY"},{"type":"WEB","url":"https://phabricator.wikimedia.org/T357203"}],"affected":[{"package":{"name":"samwilson/unlinked-wikibase","ecosystem":"Packagist","purl":"pkg:composer/samwilson/unlinked-wikibase"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.42.0"}]}],"versions":["1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-wcx3-63mm-h8x6/GHSA-wcx3-63mm-h8x6.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"},{"type":"CVSS_V4","score":"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"}]}