CVE-2024-34500
MEDIUM 6.1CVSS 3.1MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability
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.
- Published
- 5 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-mediawiki-2024-34500GHSA-wcx3-63mm-h8x6
- Sources
- NVDJSONOSV GHSA-wcx3-63mm-h8x6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mediawiki | mediawikicpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* |
< 1.39.6 | 1.39.6 |
| NVD | mediawiki | mediawikicpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* |
>= 1.40.0, < 1.40.2 | 1.40.2 |
| NVD | mediawiki | mediawikicpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:* |
>= 1.41.0, < 1.41.1 | 1.41.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
= 40 | |
| OSV | Packagist | samwilson/unlinked-wikibase | < 1.42.0 | 1.42.0 |
References
- https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UnlinkedWikibase/+/1002175 · Patch, Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/ · Third Party Advisory, WEB
- https://phabricator.wikimedia.org/T357203 · Issue Tracking, Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FU2FGUXXK6TMV6R52VRECLC6XCSQQISY/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-34500 · ADVISORY
- https://github.com/github/advisory-database/pull/5310 · WEB
- https://gerrit.wikimedia.org/r/mediawiki/extensions/UnlinkedWikibase.git · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 May 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 May 2024)