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.
https://www.vulncheck.com/advisories/webmin-through-2.670-xss-via-mysql-module-mysql-index-cgi
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/blob/2.670/mysql/index.cgi#L87
https://github.com/webmin/webmin/blob/2.670/mysql/index.cgi#L143
https://github.com/webmin/webmin