Live threats

All CVEs / Mediawiki

CVE-2024-34500Mediawiki

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 46
Auth required
No
Published
May 5, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mediawiki.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist samwilson/unlinked-wikibase < 1.42.0 1.42.0 composer require "samwilson/unlinked-wikibase:^1.42.0"

Per OSV / GitHub Advisories (GHSA-wcx3-63mm-h8x6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mediawikimediawiki< 1.39.6
mediawikimediawiki≥ 1.40.0 < 1.40.2
mediawikimediawiki≥ 1.41.0 < 1.41.1
fedoraprojectfedora40

Official sources

References

Links published by the sources. Open them with care.