CVE-2024-34500Mediawiki
Medium 6.1 No auth needed
Follow: this CVE · Mediawiki · Mediawiki We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Mediawiki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| mediawiki | mediawiki | < 1.39.6 |
| mediawiki | mediawiki | ≥ 1.40.0 < 1.40.2 |
| mediawiki | mediawiki | ≥ 1.41.0 < 1.41.1 |
| fedoraproject | fedora | 40 |
Official sources
References
Links published by the sources. Open them with care.
- gerrit.wikimedia.org Patch Vendor Advisory
- lists.fedoraproject.org Third Party Advisory
- phabricator.wikimedia.org Issue Tracking Vendor Advisory
- lists.fedoraproject.org