Stored XSS/Cross Site Scripting/Injection in the attachment servlet in Apache JSPWIKI on all platforms, all previous versions allows an attacker to upload a malicious HTML file and then potentially have it rendered in browser due to lax rules of rendering inline vs a file download. Users are recommended to upgrade to version 3.0.1, which fixes this issue.
https://lists.apache.org/thread.html/vbc918nl5md077l09sbgqf2mog85ry61