Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-server/edit_browser.cgi that allows attackers with write access to LDAP entry attributes to inject script by storing markup in attribute values. When an administrator browses the entry in the LDAP Server directory browser, the unencoded script runs in the Webmin origin, letting attackers act with the administrator's session.
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/commit/a2a3b1a87b15813851eece07965a6021a3e1789b
https://github.com/webmin/webmin/blob/2.670/ldap-server/edit_browser.cgi#L86-L87
https://github.com/webmin/webmin/blob/2.670/ldap-server/edit_browser.cgi#L209-L211
https://github.com/webmin/webmin