CVE-2026-134629: Webmin through 2.670 XSS via MySQL Module mysql/index.cgi
Webmin through 2.670 contains a cross-site scripting vulnerability in mysql/index.cgi that renders MySQL connection error text and server version strings without escaping. Malicious MySQL server operators or on-path attackers on plaintext connections can return markup in error packets or version strings to execute JavaScript in Webmin user sessions.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Webmin users who use the MySQL module and connect it to a malicious MySQL server are exposed. Users connecting over plaintext MySQL connections may also be exposed to an on-path attacker able to alter MySQL error packets or server version strings.
What does an attacker need to exploit it?
An attacker needs to control the MySQL server's returned error text or version string, or be able to modify those values in transit on a plaintext connection. Exploitation also requires a Webmin user to load the affected MySQL module page, making user interaction necessary.
Is a default Webmin deployment necessarily affected?
The available information identifies the vulnerable rendering path in the MySQL module, not all Webmin functionality. Exposure depends on use of mysql/index.cgi and on connecting to an attacker-controlled MySQL server or using a plaintext connection vulnerable to interception.
What can be done if updating is not immediately possible?
Avoid connecting the Webmin MySQL module to untrusted MySQL servers. Use protected MySQL connections rather than plaintext connections to reduce the risk of an on-path attacker modifying server responses.