Original description
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Servers Index module that allows unauthenticated adjacent attackers to inject scripts via the realhost field of UDP discovery replies. Attackers on the same broadcast domain can answer discovery scans with HTML or JavaScript stored by find_servers() and rendered unescaped by edit_serv.cgi, executing in Webmin user sessions.
Affected products and versions
webmin webmin≤ 2.670
CVSS vector, explained
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack vector
- Adjacent network
- Attack complexity
- Low
- Privileges required
- None (no login)
- 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/766557590de2a844fe0f3c37de9673b48497b3f9 patch
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/servers/servers-lib.pl#L440
- github.com/webmin/webmin/blob/2.670/servers/edit_serv.cgi#L49
- github.com/webmin/webmin/issues/2941
- doi.org/10.5281/zenodo.24396540
- www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-servers-index-discovery-r
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.