Original description
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.
Affected products and versions
webmin webmin≤ 2.670
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- github.com/webmin/webmin/commit/a2a3b1a87b15813851eece07965a6021a3e1789b patch
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/ldap-client/popup_browser.cgi#L60-L61
- github.com/webmin/webmin/blob/2.670/ldap-client/popup_browser.cgi#L98-L99
- github.com/webmin/webmin/issues/2941
- doi.org/10.5281/zenodo.24396540
- www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-ldap-client-popup-browser
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Summaries are AI-written under strict rules; always check the vendor's official advisory.