Description
Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-useradmin/edit_user.cgi that allows attackers to inject markup through the LDAP sambaAcctFlags and sambaBadPasswordCount attributes, which are rendered without HTML encoding. Attackers with LDAP write access to these attributes can store malicious scripts that execute in a Webmin administrator's browser when the user entry is opened in the editor.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| webmin | webmin | ≤ 2.670 | — |
Advisories 1
- WID-SEC-2026-4785 Webmin: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 24, 2026
References
- https://github.com/webmin/webmin product
- https://github.com/webmin/webmin/blob/2.670/ldap-useradmin/edit_user.cgi#L292-L296 technical-description
- https://github.com/webmin/webmin/issues/2941 issue-tracking
- Webmin 2.670 security audit catalogue technical-description
- VulnCheck Advisory: Webmin through 2.670 Stored XSS via LDAP Samba Attributes in edit_user.cgi third-party-advisory