Webmin through 2.670 Stored XSS via LDAP Samba Attributes in edit_user.cgi
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 21, 2026
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.
| Product | Versions |
|---|---|
| webmin webmin | 2.670 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulnCheck | |
| 3.1 | 4.8 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/webmin/webminProduct Page
- https://github.com/webmin/webmin/blob/2.670/ldap-useradmin/edit_user.cgi#L292-L296Technical Details
- https://github.com/webmin/webmin/issues/2941Issue Tracker
- Webmin 2.670 security audit catalogueTechnical Details
- VulnCheck Advisory: Webmin through 2.670 Stored XSS via LDAP Samba Attributes in edit_user.cgiThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.