Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-client/popup_browser.cgi that allows attackers to inject markup by storing it in LDAP attribute values printed without HTML encoding. Attackers with write access to an LDAP directory entry, needing no Webmin account, can execute scripts in the Webmin origin when an administrator browses that entry.