MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability
Moderate severity
GitHub Reviewed
Published
May 5, 2024
to the GitHub Advisory Database
•
Updated Dec 4, 2024
Package
Affected versions
< 1.39.6
>= 1.40.0, < 1.40.2
>= 1.41.0, < 1.41.1
Patched versions
1.39.6
1.40.2
1.41.1
Description
Published by the National Vulnerability Database
May 5, 2024
Published to the GitHub Advisory Database
May 5, 2024
Reviewed
Dec 4, 2024
Last updated
Dec 4, 2024
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.
References