CVE-2026-134328: Webmin through 2.670 Stored XSS via mailboxes/detach.cgi Attachment Viewer
Webmin through 2.670 contains a stored cross-site scripting vulnerability in mailboxes/detach.cgi that allows unauthenticated mail senders to bypass the HTML sanitizer. Attackers can send HTML attachments with entity-obfuscated javascript: schemes or encoded script tags in iframe srcdoc to execute script in the Webmin session of users opening them.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue, and what user interaction is required?
Any unauthenticated attacker who can send email to a mailbox viewed through Webmin can supply a malicious HTML attachment. Exploitation requires a Webmin user to open the attachment in the detach.cgi attachment viewer.
What attachment content can trigger the vulnerability?
The affected sanitizer can be bypassed using entity-obfuscated javascript: schemes or encoded script tags placed in an iframe srcdoc attribute. The resulting script executes in the Webmin session of the user who opens the attachment.
Which Webmin versions are affected?
Webmin through version 2.670 is affected. The provided data does not identify a fixed release version.