Description
Webmin through 2.670 contains a stored cross-site scripting vulnerability in postfix/view_mailq.cgi and sendmail/view_mailq.cgi that allows unauthenticated attackers to inject script via unsanitized MIME attachment filenames. Attackers can send a message with a crafted Content-Disposition or Content-Type filename that remains queued, executing script in the Webmin session of users viewing it.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| webmin | webmin | ≤ 2.670 | — |
Advisories 1
- WID-SEC-2026-4785 Webmin: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 24, 2026
References
- Patch Commit patch
- https://github.com/webmin/webmin product
- https://github.com/webmin/webmin/blob/2.670/postfix/view_mailq.cgi#L124 technical-description
- https://github.com/webmin/webmin/blob/2.670/sendmail/view_mailq.cgi#L119 technical-description
- https://github.com/webmin/webmin/issues/2941 issue-tracking
- Webmin 2.670 security audit catalogue technical-description
- VulnCheck Advisory: Webmin through 2.670 Stored XSS via Mail Queue Attachment Filenames third-party-advisory