The default file type whitelist configuration in conf/mime.conf in the Media Manager in DokuWiki before 2014-09-29b allows remote attackers to execute arbitrary web script or HTML by uploading an SWF file, then accessing it via the media parameter to lib/exe/fetch.php.
https://www.dokuwiki.org/changes
https://github.com/splitbrain/dokuwiki/commit/778ddf6f2cd9ed38b9db2d73e823b8c21243a960
https://exchange.xforce.ibmcloud.com/vulnerabilities/99291
http://www.securitytracker.com/id/1031369
http://www.securityfocus.com/bid/71671
http://security.szurek.pl/dokuwiki-20140929a-xss.html