CVE-2026-134641: Webmin through 2.670 Stored XSS via Minecraft save_backup.cgi
Webmin through 2.670 contains a stored cross-site scripting vulnerability in minecraft/savebackup.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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Webmin installations through version 2.670 are exposed when the Minecraft module is used and a local attacker can write to the Minecraft server directory. A Webmin user must subsequently run the module's Backup Now action for the injected script to execute.
What does an attacker need to exploit it?
The attacker needs local access with write permission to the Minecraft server directory. They must create a world directory whose name contains HTML or script content; no remote-only attack path is described.
Are installations affected by default?
The issue requires the Minecraft server directory to be writable by the attacker and requires a Webmin user to run Backup Now. The provided information does not establish that these conditions exist in a default installation.
How can I check for attempted exploitation?
Inspect world directory names in the Minecraft server directory for unexpected HTML or script-like content. Review whether a Webmin user ran Backup Now after such a directory was present.