Original description
Webmin through 2.670 contains a cross-site scripting vulnerability in mount/nfs_export.cgi that allows malicious NFS servers to inject scripts through unescaped export paths. Attackers controlling or spoofing an NFS server's mountd replies can return crafted export paths that execute JavaScript in the session of a Webmin user browsing exports.
Affected products and versions
webmin webmin≤ 2.670
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- 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/25e826f1759c3371545227b5c39439956be6fec1 patch
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/mount/nfs_export.cgi#L33
- github.com/webmin/webmin/blob/2.670/mount/linux-lib.pl#L2354
- github.com/webmin/webmin/issues/2941
- doi.org/10.5281/zenodo.24396540
- www.vulncheck.com/advisories/webmin-through-2.670-xss-via-mount-nfs-export-cgi-nfs-export-
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.