CVE-2026-134333: Webmin through 2.670 Stored XSS via mysql/view_table.cgi Column Names
Webmin through 2.670 contains a stored cross-site scripting vulnerability in mysql/viewtable.cgi that allows MySQL users to inject scripts via unescaped column names. Attackers with CREATE or ALTER privilege can create columns containing HTML payloads that execute in a Webmin administrator's session when the table is viewed.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs MySQL CREATE or ALTER privilege so they can create or modify a column name containing an HTML payload. Exploitation also requires a Webmin administrator to view the affected table through mysql/view_table.cgi.
Which deployments are exposed?
Webmin installations through version 2.670 are affected when they manage a MySQL database where a potentially untrusted user has CREATE or ALTER privileges and an administrator views attacker-controlled tables.
How can I check for possible exploitation?
Review MySQL table schemas for column names containing HTML or script-like content, particularly in databases where non-administrative users have CREATE or ALTER privileges. Also determine whether Webmin administrators have viewed those tables in the MySQL module.
What can be done while patching is unavailable?
Restrict MySQL CREATE and ALTER privileges to trusted users, and avoid viewing untrusted tables in Webmin's MySQL interface. Review and remove or rename suspicious column names before administrators access the affected table view.