Webmin through 2.670 contains a stored cross-site scripting vulnerability in minecraft/save_backup.cgi that allows local attackers with write access to the Minecraft server directory to inject script via unescaped world directory names. Attackers can create a world directory containing HTML or script that executes in a Webmin user's session when they run Backup Now.
https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-minecraft-save-backup-cgi
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/blob/2.670/minecraft/save_backup.cgi#L60
https://github.com/webmin/webmin/blob/2.670/minecraft/minecraft-lib.pl#L899
https://github.com/webmin/webmin