Original description
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Upload and Download module that allows attackers to inject script via unescaped HTTP status lines from background downloads. Attackers controlling a download server can return a malicious status line stored by updown/download.pl and printed unescaped by updown/index.cgi, executing script in a higher-privileged user's session.
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/820a9f99a8975b29cefec3978dc94465bdf82bd1 patch
- github.com/webmin/webmin
- github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L3487
- github.com/webmin/webmin/blob/2.670/updown/index.cgi#L128
- github.com/webmin/webmin/issues/2941
- doi.org/10.5281/zenodo.24396540
- www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-upload-and-download-modul
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.