CVE-2024-34500: XSS
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.
Other sources
An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.42.0. 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.
— GitHub
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-34500?
CVE-2024-34500 has been classified as a medium severity vulnerability due to the potential for XSS attacks.
How do I fix CVE-2024-34500?
To resolve CVE-2024-34500, update the UnlinkedWikibase extension to version 1.41.1 or later, or 1.40.2, or 1.39.6.
What is the impact of CVE-2024-34500?
The impact of CVE-2024-34500 allows attackers to execute arbitrary JavaScript in the context of a victim's session through unescaped error messages.
Which versions are affected by CVE-2024-34500?
CVE-2024-34500 affects UnlinkedWikibase versions prior to 1.39.6, 1.40.x before 1.40.2, and 1.41.x before 1.41.1.
Is CVE-2024-34500 patched in newer versions?
Yes, CVE-2024-34500 is patched in UnlinkedWikibase versions 1.41.1, 1.40.2, and 1.39.6.