CVE-2017-0365 log

Source
Severity Medium
Remote Yes
Type Cross-site scripting
Description
SearchHighlighter::removeWiki() uses a regex to remove html from snippets. The regex - /<\/?[^>]+>/ assumes that html is well-formed. As a result when using SearchHighlighter::highlightText() as the highlighting method, this can result in an XSS when $wgAdvancedSearchHighlighting is true.
Group Package Affected Fixed Severity Status Ticket
AVG-236 mediawiki 1.28.0-1 1.28.1-1 High Fixed
Date Advisory Group Package Severity Type
07 Apr 2017 ASA-201704-3 AVG-236 mediawiki High multiple issues
References
https://phabricator.wikimedia.org/T144845
https://lists.wikimedia.org/pipermail/mediawiki-announce/2017-April/000207.html