CVE-2026-134447: Webmin through 2.670 Stored XSS via Mail Queue Attachment Filenames
Webmin through 2.670 contains a stored cross-site scripting vulnerability in postfix/viewmailq.cgi and sendmail/viewmailq.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 Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Webmin users who view mail-queue entries through the Postfix or Sendmail mail queue interfaces are exposed if a crafted message remains in the queue. The attacker can submit the crafted message without authentication, but script execution requires a user to view the affected queue entry in Webmin.
What must an attacker do to exploit it?
An attacker needs to send a message containing a crafted MIME attachment filename in a Content-Disposition or Content-Type header. The message must remain queued until a Webmin user views it through postfix/view_mailq.cgi or sendmail/view_mailq.cgi.
What can be done if updating is not immediately possible?
Avoid viewing untrusted queued messages through the affected Webmin mail queue interfaces, and remove suspicious queued messages before administrators inspect them. Restricting access to Webmin reduces the number of user sessions that could trigger the stored script.