PT-2024-3267 · Mediawiki+2 · Mediawiki+2

R4356Th

·

Published

2024-02-10

·

Updated

2025-06-19

·

CVE-2024-34500

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions MediaWiki versions prior to 1.39.6 MediaWiki versions 1.40.x prior to 1.40.2 MediaWiki versions 1.41.x prior to 1.41.1
Description The issue is related to the UnlinkedWikibase extension in MediaWiki, where improper neutralization of input during web page creation can lead to cross-site scripting (XSS) attacks. This can allow a remote attacker to perform XSS attacks through an interface message. Error messages, stored in the $err variable, are not escaped before being passed to Html::rawElement() in the getError() function of the Hooks class.
Recommendations For MediaWiki versions prior to 1.39.6, update to version 1.39.6 or later. For MediaWiki versions 1.40.x prior to 1.40.2, update to version 1.40.2 or later. For MediaWiki versions 1.41.x prior to 1.41.1, update to version 1.41.1 or later. As a temporary workaround, consider disabling the UnlinkedWikibase extension until a patch is available. Restrict access to interface messages to minimize the risk of exploitation. Avoid using error messages in the $err variable in the affected getError() function until the issue is resolved.

Fix

XSS

Weakness Enumeration

Related Identifiers

ALT-PU-2025-5905
BDU:2024-03498
BIT-MEDIAWIKI-2024-34500
CVE-2024-34500
GHSA-WCX3-63MM-H8X6

Affected Products

Alt Linux
Mediawiki
Red Os