Technical impact
Webmin versions before 2.670 allow an authenticated user to upload an SVG file to the mail queue, and when an administrator later views that attachment, the SVG’s embedded script can execute in the administrator’s browser context. This authenticated cross‑site scripting flaw can lead to arbitrary JavaScript execution, potentially leaking credentials, defacing pages, or escalating privileges within the Webmin environment. This weakness is identified as CWE‑79, an input validation issue that permits malicious script injection.
Affected Systems
The affected product is Webmin, version 2.670 and earlier, before the commit that patches the issue (ae8feb1). Any deployment using those versions is susceptible when users are allowed to upload SVGs to the mail queue.
Risk and Exploitability
The CVSS score of 6.4 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting it has not yet been widely exploited. Attackers need an authenticated user to upload an SVG and an administrator to view it, making the attack vector more restricted. Consequently, while exploitation is feasible, the overall risk is moderate and contingent on the configuration that permits SVG uploads to the mail queue.