PT-2020-16222 · Wikimedia+1 · Mediawiki+1
Published
2020-09-25
·
Updated
2024-03-06
·
CVE-2020-25814
CVSS v3.1
6.1
Medium
| Vector | AV: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 1.31.10 and earlier
MediaWiki versions 1.32.x through 1.34.x before 1.34.4
Description
The issue is related to XSS in MediaWiki, where an attacker can create a message with a malicious payload and turn it into a jQuery object using
mw.message().parse(). This results in a jQuery object containing an <a> tag with a href attribute set to javascript:payload, which executes when clicked.Recommendations
For MediaWiki versions 1.31.10 and earlier, update to version 1.31.10 or later.
For MediaWiki versions 1.32.x through 1.34.x before 1.34.4, update to version 1.34.4 or later.
As a temporary workaround, consider restricting the use of the
mw.message().parse() function until a patch is available.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Mediawiki