Cross-site scripting (XSS) vulnerability in the preview in the TemplateSandbox extension for MediaWiki allows remote attackers to inject arbitrary web script or HTML via the text parameter to Special:TemplateSandbox.
https://lists.wikimedia.org/pipermail/mediawiki-announce/2014-December/000173.html