CVE-2026-134631: Webmin through 2.670 Stored XSS via LDAP Samba Attributes in edit_user.cgi

Published Nov 25, 2026
·
Updated

Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-useradmin/edituser.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 Software

1 affected component
Webmin Webmin<=2.670

Event History

Nov 25, 2026
CVE Published
via MITRE·03:21 AM
Data Sourced
via MITRE·03:21 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

Webmin administrators who open affected LDAP user entries in ldap-useradmin/edit_user.cgi are exposed. An attacker must first be able to write the sambaAcctFlags or sambaBadPasswordCount attributes for an LDAP user entry.

2

Does exploitation require an administrator to take action?

Yes. The stored script executes when a Webmin administrator opens the affected user entry in the editor. The attacker does not need Webmin administrative access, but does need LDAP write access to the specified attributes.

3

How can I determine whether an LDAP entry may contain a payload?

Inspect LDAP user entries for unexpected markup or script-like content in sambaAcctFlags and sambaBadPasswordCount. These are the attributes identified as being rendered without HTML encoding.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203