CVE-2020-25814: XSS
In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an <a> tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an <a href ="javascript... that executes when clicked.
Other sources
In MediaWiki before 1.31.9 and 1.32.x through 1.34.x before 1.34.3, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an <a> tag (or it does not have a href attribute, or it's empty, etc.). The actual result is that the object contains an <a href ="javascript... that executes when clicked.
— GitHub
mw.message.parse() accepts javascript: protocol in wikilinks
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2020-25814?
CVE-2020-25814 has a medium severity rating due to its ability to enable XSS attacks via jQuery.
How do I fix CVE-2020-25814?
To fix CVE-2020-25814, upgrade MediaWiki to version 1.31.10, 1.34.4, or later versions.
Which versions of MediaWiki are affected by CVE-2020-25814?
CVE-2020-25814 affects MediaWiki versions before 1.31.10 and between 1.32.x and 1.34.x prior to 1.34.4.
What type of vulnerability is CVE-2020-25814?
CVE-2020-25814 is an XSS (Cross-Site Scripting) vulnerability related to jQuery parsing.
What impact does CVE-2020-25814 have on users?
CVE-2020-25814 allows attackers to inject malicious scripts into user-facing pages, potentially leading to unauthorized actions on behalf of users.