Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. samwilson/unlinked-wikibase
  4. ›
  5. CVE-2024-34500

CVE-2024-34500: MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability

May 5, 2024 (updated February 25, 2025)

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

  • gerrit.wikimedia.org/r/c/mediawiki/extensions/UnlinkedWikibase/+/1002175
  • gerrit.wikimedia.org/r/mediawiki/extensions/UnlinkedWikibase.git
  • github.com/advisories/GHSA-wcx3-63mm-h8x6
  • github.com/github/advisory-database/pull/5310
  • lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY
  • nvd.nist.gov/vuln/detail/CVE-2024-34500
  • phabricator.wikimedia.org/T357203

Code Behaviors & Features

Detect and mitigate CVE-2024-34500 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.42.0

Fixed versions

  • 1.42.0

Solution

Upgrade to version 1.42.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/samwilson/unlinked-wikibase/CVE-2024-34500.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:15 +0000.