Skip to content

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

MediumCVSS 6.1 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
mediawiki < 1.39.6; >= 1.40.0, < 1.40.2; >= 1.41.0, < 1.41.1 1.39.6, 1.40.2, 1.41.1 Fixed
samwilson/unlinked-wikibase(Packagist) < 1.42.0; = 1.0.0 1.42.0 Fixed
fedoraproject fedora = 40 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
samwilson/unlinked-wikibase(Packagist) < 1.42.0 1.42.0
samwilson/unlinked-wikibase(Packagist) = 1.0.0 No fix listed
mediawiki < 1.39.6 1.39.6
mediawiki >= 1.40.0, < 1.40.2 1.40.2
mediawiki >= 1.41.0, < 1.41.1 1.41.1
fedoraproject fedora = 40 No fix listed

References