Cross-site scripting in MediaWiki - CVE-2014-2244
Published: March 2, 2014 / Updated: December 22, 2020
MediaWiki
Detailed vulnerability description
Vulnerability allows a remote attacker to perform XSS attacks.
The vulnerability is caused by an input validation error in the formatHTML function in includes/api/ApiFormatBase.php in MediaWiki before 1.19.12, 1.20.x and 1.21.x before 1.21.6, and 1.22.x before 1.22.3. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
How to mitigate CVE-2014-2244
Sources
- http://lists.wikimedia.org/pipermail/mediawiki-announce/2014-February/000141.html
- http://openwall.com/lists/oss-security/2014/02/28/1
- http://openwall.com/lists/oss-security/2014/03/01/2
- http://www.securityfocus.com/bid/65906
- https://bugzilla.redhat.com/show_bug.cgi?id=1071139
- https://bugzilla.wikimedia.org/show_bug.cgi?id=61362
- https://gerrit.wikimedia.org/r/#/q/Idf985e4e69c2f11778a8a90503914678441cb3fb,n,z