CVE-2026-134328Webmin 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- webmin: affected: up to 2.670
Vendor advisories:
References
- https://github.com/webmin/webmin/commit/344104046116978770cd0edea11405590a14ee08
- https://github.com/webmin/webmin
- https://github.com/webmin/webmin/blob/2.670/mailboxes/detach.cgi#L105
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L10547
- https://github.com/webmin/webmin/issues/2941
- https://doi.org/10.5281/zenodo.24396540
- https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-mailboxes-detach-cgi-attachment-viewer
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.