GHSA-wcx3-63mm-h8x6
MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | samwilson/unlinked-wikibase | < 1.42.0 | 1.42.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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/[email protected]/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY
- https://phabricator.wikimedia.org/T357203