CVE-2026-134627: Webmin through 2.670 Stored XSS via User and Group Chooser Popups
Webmin through 2.670 contains a stored cross-site scripting vulnerability that allows local users or directory writers to inject script by placing markup in user names, group names or GECOS fields. Attackers can set GECOS via chfn or modify LDAP, NIS or SSSD entries so unescaped values in myuserchooser.cgi, mygroupchooser.cgi, userchooser.cgi and groupchooser.cgi execute in a Webmin user's browser.
Affected Software
Event History
Frequently Asked Questions
Who can inject the malicious values?
Local users who can set their GECOS field with chfn can inject markup. Directory writers who can modify LDAP, NIS, or SSSD entries can also introduce malicious user or group names or GECOS values.
What must happen for the stored script to execute?
A Webmin user must open a vulnerable user or group chooser popup that renders the injected value. The affected scripts are my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi, and group_chooser.cgi.
Which deployments should be reviewed for exposure?
Review Webmin installations that use local account data or directory-backed identities from LDAP, NIS, or SSSD, particularly where untrusted users can change GECOS fields or directory attributes. The issue affects Webmin through version 2.670.