Webmin through 2.670 contains a stored cross-site scripting vulnerability in useradmin/edit_user.cgi that displays home directory paths without HTML escaping to users with the autohome ACL. A Webmin user with broader Users and Groups rights can store a home path containing script via save_user.cgi, executing it in a restricted sub-administrator's Webmin session.
webmin vulnerabilities
Every CVE for webmin published since 2026-01-01, newest first.
Searchable list across all months → · Atom feed
Most affected products
Webmin through 2.670 contains a stored cross-site scripting vulnerability in logrotate/force.cgi that prints logrotate -f diagnostic output without HTML escaping. Local OS users can create files with script-laden names in wildcard-rotated log directories, executing script in the Webmin session when Force Log Rotation is clicked.
Webmin through 2.670 contains a header directive injection vulnerability in sendmail/autoreply.pl that allows unauthenticated mail senders to inject autoreply directives by placing them in inbound subject, from, date, or body fields. Attackers can inject Reply-Tracking to delete files at chosen paths, Autoreply-File to exfiltrate files readable by the delivery user, or arbitrary reply headers including To.
Webmin through 2.670 contains a cleartext transmission vulnerability in web-lib-funcs.pl and fastrpc.cgi that sends cluster RPC traffic over raw TCP despite SSL configuration. Network-positioned attackers can read the session ID and remote_eval payloads or alter calls in transit to execute code as root on managed servers.
Webmin through 2.670 contains a cleartext transmission vulnerability in the SMTP service monitor that never issues STARTTLS because get_smtp_status tests an undefined $ssl variable. Passive network attackers can capture AUTH PLAIN credentials sent in plaintext each time a STARTTLS-configured monitor runs, without needing a Webmin login.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in proc/trace.cgi that allows local unprivileged OS users to inject markup via unescaped process arguments and system call parameters. Attackers can craft process command lines or file names passed to open so that script executes in a Webmin user's session when they trace the process.
Webmin through 2.670 contains a path traversal vulnerability in minecraft/minecraft-lib.pl that allows unauthenticated game players to overwrite arbitrary files as root via crafted chat messages. Attackers can send chat messages mimicking logged in lines so the root check_playtime_limits cron job rewrites attacker-chosen files, destroying their contents.
Webmin through 2.670 contains an authentication bypass vulnerability in password_change.cgi that allows unauthenticated attackers to change passwords for accounts with empty stored hashes. When passwd_mode is 2, attackers can POST user, old, new1 and new2 with any old value to set a known password and gain access.
Webmin through 2.670 contains a missing authentication vulnerability in fastrpc.cgi that allows unauthenticated network peers to connect to tcpwrite and tcpread file-transfer listeners without session checks. Attackers can race to connect to the predictable transfer port during cluster operations to steal transferred files or replace staged packages, achieving root code execution.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in minecraft/save_backup.cgi that allows local attackers with write access to the Minecraft server directory to inject script via unescaped world directory names. Attackers can create a world directory containing HTML or script that executes in a Webmin user's session when they run Backup Now.
Webmin through 2.670 contains an improper certificate validation vulnerability in imap_login in mailboxes/folders-lib.pl that skips certificate verification and hostname checks for IMAP SSL connections. Man-in-the-middle attackers can present any certificate to capture IMAP credentials sent by the System and Server Status IMAP monitor and spoof monitor results.
Webmin through 2.670 contains an insecure default configuration in its Windows setup.bat script that provisions an administrator account with the credentials admin/admin and SSL disabled. Unauthenticated network attackers can log in over plain HTTP on port 10000 with these unchanged credentials to gain full Webmin administrative access.
Webmin through 2.670 contains a missing integrity verification vulnerability in usermin/upgrade.cgi that downloads Usermin upgrade packages over plaintext HTTP without signature or digest checks. On-path network attackers or DNS spoofers can supply a malicious RPM, Debian, or tar.gz package whose maintainer scripts or setup.sh execute as root during upgrade.
Webmin through 2.670 contains a STARTTLS downgrade vulnerability in send_mail in mailboxes/boxes-lib.pl that continues over plaintext when STARTTLS is rejected. Man-in-the-middle attackers can strip or reject STARTTLS to capture configured SMTP AUTH credentials, crackable CRAM-MD5 exchanges, and the content of sent mail.
Webmin through 2.670 contains a weak randomness vulnerability that allows attackers to predict TOTP two-factor secrets generated by generate_base32_secret() using a time and PID seeded rand(). Attackers who know a user's password and estimate enrollment time can enumerate candidate seeds, reproduce the secret, and bypass the second authentication factor.
Webmin through 2.670 contains an OS command injection vulnerability in ldap-client/check.cgi that allows LDAP directory writers to execute commands via unquoted uid values. Attackers can create a posixAccount entry with shell metacharacters in its uid, executing commands as root when an administrator runs Check Configuration.
Webmin through 2.670 contains an improper certificate validation vulnerability in servers/link.cgi that accepts self-signed certificates for linked servers even when certificate checking is enabled. Man-in-the-middle attackers presenting a self-signed certificate with the correct hostname can capture stored HTTP Basic credentials for the remote Webmin and inject HTML into the local Webmin origin.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in init/mass_systemd.cgi that prints unescaped journalctl output when a systemd service fails to start. Attackers can inject script into the journal via logger or sshd invalid user names, executing it in an administrator's Webmin session.
Webmin through 2.670 contains an improper certificate validation vulnerability that allows man-in-the-middle attackers to capture credentials because servers/save_serv.cgi skips the selected SSL certificate check. When fast RPC is set to Automatic, attackers intercepting the /fastrpc.cgi probe can obtain the remote Webmin username and password sent via HTTP Basic Authorization.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-useradmin/edit_user.cgi that allows attackers to inject markup through the LDAP sambaAcctFlags and sambaBadPasswordCount attributes, which are rendered without HTML encoding. Attackers with LDAP write access to these attributes can store malicious scripts that execute in a Webmin administrator's browser when the user entry is opened in the editor.
Webmin through 2.670 contains a remote code execution vulnerability in the Perl Modules (cpan) module, which downloads CPAN indexes and module archives over plaintext HTTP without checksum or signature verification. On-path network attackers can answer the outbound fetch while an administrator installs a CPAN module, supplying a malicious Makefile.PL that cpan/download.cgi runs as root before confirmation.
Webmin through 2.670 contains a cross-site scripting vulnerability in mysql/index.cgi that renders MySQL connection error text and server version strings without escaping. Malicious MySQL server operators or on-path attackers on plaintext connections can return markup in error packets or version strings to execute JavaScript in Webmin user sessions.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Disk Quotas module that allows directory administrators to inject markup via NSS user names. Attackers who can create or rename LDAP, NIS or SSSD identities owning blocks on XFS quota filesystems can execute script in the browser of administrators viewing quota/list_users.cgi.
Webmin through 2.670 contains a stored cross-site scripting vulnerability that allows local users or directory writers to inject script by placing markup in user names, group names or GECOS fields. Attackers can set GECOS via chfn or modify LDAP, NIS or SSSD entries so unescaped values in my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi and group_chooser.cgi execute in a Webmin user's browser.
Webmin through 2.670 contains an improper certificate validation vulnerability in switch_smtp_to_ssl in mailboxes/boxes-lib.pl and status/smtp-monitor.pl, which calls Net::SSLeay::connect without certificate verification or a hostname check. Man-in-the-middle attackers can present any certificate when SMTP with SSL or STARTTLS is configured to capture SMTP AUTH credentials and message content.
Webmin through 2.670 contains a cross-site scripting vulnerability in mount/nfs_export.cgi that allows malicious NFS servers to inject scripts through unescaped export paths. Attackers controlling or spoofing an NFS server's mountd replies can return crafted export paths that execute JavaScript in the session of a Webmin user browsing exports.
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.
Webmin through 2.670 contains a weak random password generation vulnerability in generate_random_password() that allows attackers to predict generated account passwords because seed_random() effectively seeds Perl rand() with only time XOR process ID. When the non-default random_password option is enabled and administrators keep the pre-filled password in edit_user.cgi, attackers can enumerate time and PID seeds to recover passwords and authenticate as new accounts.
Webmin through 2.670 contains a cross-site scripting vulnerability in status/edit_mon.cgi that allows attackers to inject scripts through unescaped monitor status descriptions. Malicious HTTP or FTPS server operators, on-path attackers, or local users creating crafted filenames in wildcard-monitored directories can execute JavaScript in a Webmin user's session.
Webmin through 2.670 contains a cleartext transmission vulnerability in connect_ldap_db in ldap-server/ldap-server-lib.pl that sends the LDAP root DN password unencrypted when encryption is set to Detect automatically. Passive network attackers observing traffic between Webmin and a remote LDAP server can capture directory root credentials because the connection loop always reaches a plaintext bind attempt.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-client/popup_browser.cgi that allows attackers to inject markup by storing it in LDAP attribute values printed without HTML encoding. Attackers with write access to an LDAP directory entry, needing no Webmin account, can execute scripts in the Webmin origin when an administrator browses that entry.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Upload and Download module that allows attackers to inject script via unescaped HTTP status lines from background downloads. Attackers controlling a download server can return a malicious status line stored by updown/download.pl and printed unescaped by updown/index.cgi, executing script in a higher-privileged user's session.
Webmin through 2.670 contains a Perl code injection vulnerability in cluster-useradmin/sync.cgi that allows attackers to run code by placing single quotes in home directory paths. Attackers with root on one managed host can craft a home path that breaks out of remote_eval() string literals during Sync, executing Perl as root on other managed hosts.
Webmin through 2.670 contains a stored cross-site scripting vulnerability that allows attackers to inject scripts by supplying values from managed hosts that cluster modules render unescaped. Attackers who can edit a Servers Index description, control a managed host, or intercept its RPC link can inject server descriptions, versions, user/group names, or package fields to execute JavaScript in the central administrator's session.
Webmin through 2.670 contains an insecure download vulnerability in webmin/upgrade.cgi, cluster-webmin/upgrade.cgi and cluster-usermin/upgrade.cgi that fetches upgrade packages over plaintext HTTP with GnuPG signature verification disabled by default. On-path network attackers can substitute a malicious RPM, Debian or tar.gz package during a default upgrade to execute code as root on the Webmin host and managed cluster servers.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-server/edit_browser.cgi that allows attackers with write access to LDAP entry attributes to inject script by storing markup in attribute values. When an administrator browses the entry in the LDAP Server directory browser, the unencoded script runs in the Webmin origin, letting attackers act with the administrator's session.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in lpadmin/list_jobs.cgi that allows local users or network IPP clients to inject script via CUPS print-job titles. Attackers can submit a print job with a crafted title, for example using lp -t, to execute script in a Printer Administration user's Webmin session.
Webmin through 2.670 contains a cross-site scripting vulnerability that allows on-path network attackers to inject script by tampering with plaintext HTTP search results rendered unescaped. Attackers who intercept rpmfind.net or Google responses can inject autofocus/onfocus payloads that execute in a logged-in user's browser within the Webmin origin.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Servers Index module that allows unauthenticated adjacent attackers to inject scripts via the realhost field of UDP discovery replies. Attackers on the same broadcast domain can answer discovery scans with HTML or JavaScript stored by find_servers() and rendered unescaped by edit_serv.cgi, executing in Webmin user sessions.
Webmin through 2.670 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts by submitting malicious failed-login usernames. Attackers can repeatedly submit crafted usernames until blocked, executing script in administrator sessions viewing edit_blocked.cgi in Webmin or Usermin.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in mysql/view_table.cgi that allows MySQL users to inject scripts via unescaped column names. Attackers with CREATE or ALTER privilege can create columns containing HTML payloads that execute in a Webmin administrator's session when the table is viewed.
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.
Webmin through 2.670 contains a signature verification bypass vulnerability in webmin-lib.pl that allows attackers to install unsigned module updates when GnuPG setup fails. Attackers tampering with update downloads via network position or a custom update URL can supply malicious modules that run as root when administrators apply updates.
Webmin through 2.670 contains an improper certificate validation vulnerability in generic_ldap_connect in ldap-client-lib.pl that accepts any LDAPS or StartTLS server certificate. Man-in-the-middle attackers can impersonate the LDAP server to capture the bind DN password, often the root DN, and return forged directory data.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-useradmin/raw.cgi that allows attackers with LDAP attribute write access to inject markup. Attackers can store script in user or group attributes or the dn, which executes in an administrator's browser when viewing the raw entry.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in apache/restart.cgi that displays the last five Apache ErrorLog lines without HTML escaping. Unauthenticated attackers can inject script into error_log via malformed requests or denied paths, executing in a Webmin user's session when Apache fails to restart.
Webmin through 2.670 contains an improper certificate validation vulnerability in the http_download function of web-lib-funcs.pl that skips TLS chain and hostname verification. Man-in-the-middle attackers can present any certificate and substitute downloaded modules, themes, or catalog content, leading to root code execution or injected HTML.
Webmin through 2.670 contains a users file injection vulnerability in acl/cert_issue.cgi that allows authenticated Webmin users to inject lines by supplying unvalidated certificate DN fields containing newlines. Attackers can end a DN field with a backslash and newline to add a second root entry with a known password hash, gaining Webmin root access after miniserv restarts.
Webmin through 2.670 contains a privilege escalation vulnerability in acl/save_group.cgi that allows delegated administrators to grant unauthorized modules by submitting arbitrary module lists in the mod parameter. Attackers with Webmin Users module access can create or edit groups holding modules like Command Shell and assign themselves membership to execute commands as root.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in bind8/edit_recs.cgi that outputs raw DNS record values without HTML escaping in ALL view mode. Delegated zone users such as Virtualmin domain owners can store record values containing script that executes in an administrator's browser when viewing zone records.
Webmin through 2.670 contains an OS command injection vulnerability in samba/save_euser.cgi that allows authenticated Samba user maintainers to inject commands via unvalidated opts parameter. Attackers can embed shell metacharacters in account option flags passed by create_user and modify_user to backquote_logged, executing commands as root.
Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Shorewall and Shorewall6 modules' list.cgi, which renders table fields and COMMENT lines unescaped. Authenticated users with table edit permission can store JavaScript via savecmt.cgi or table entries that executes when other users, including root, view the list page.
Usermin through 2.570 contains a cross-site scripting vulnerability in mailbox/detach.cgi that allows remote attackers to execute script by supplying an arbitrary type parameter that bypasses JavaScript filtering. Attackers can email an HTML attachment containing script and lure recipients to a detach.cgi link with type=text/html to run script in the victim's authenticated Usermin session.
Usermin through 2.570 contains a path traversal vulnerability in mailbox/detachall.cgi that allows remote unauthenticated attackers to write files outside the temporary directory via unsanitized attachment filenames. Attackers can email attachments with ../ sequences in filenames, and when the recipient downloads all attachments, files like ~/.forward are overwritten, enabling command execution.
Usermin through 2.570 contains an OS command injection vulnerability in the Read Mail module that allows authenticated users to execute commands through unsanitized IMAP folder names. Attackers can create a folder containing shell metacharacters via an external IMAP client, then delete it in Usermin to run commands as their system account, bypassing webmail-only restrictions.
Webmin is a web-based system administration tool for Unix-like servers. Prior to 2.652, untrusted users with access to the File Manager or Upload and Download modules can direct Webmin's server-side URL download functionality to non-public network addresses because download destinations are not restricted by resolved IP address. This allows requests to unauthenticated intranet services or cloud-provider instance metadata endpoints that are inaccessible from the user's own system. This issue is fixed in 2.652.
Webmin is a web-based system administration tool for Unix-like servers. Prior to version 2.650, Webmin users who click on a malicious link to their server are vulnerable to this XSS vulnerability that could be used to execute attacker-controlled commands. This issue has been patched in version 2.650.
Webmin is a web-based system administration tool for Unix-like servers. Prior to version 2.640, for Webmin accounts that require a second authentication factor (typically TOTP), an attacker with knowledge of the username and password can bypass the 2FA requirement by using Basic authentication. Webmin is a web-based system administration tool for Unix-like servers. As a workaround, apply the patch from commit da18a16c84ae5c0b78cad79609cb0efb174000ec manually.
Webmin accepts basic authentication without session cookies when an attacker provides the 'User-Agent: webmin' header, allowing bypass of additional MFA requirements. Fixed in 2.640.
Webmin allows unauthenticated attackers to read the contents of any file ending in .conf within module directories, due to a bypassable regex pattern.
The Webmin HTTP server (miniserv.pl) allows unauthenticated attackers to impersonate any user with a configured SSL client certificate by sending a forged HTTP header. A remote attacker can spoof certificate DNs and authenticate as any user. Fixed in 2.202.
Webmin before 2.640 does not safely construct a filename for saving of an attachment within the mailboxes component. This occurs in mailboxes/detachall.cgi.
Webmin before 2.640 allows mailboxes/detach.cgi XSS via an SVG document attachment that is viewed in the mailboxes component, because image/svg+xml is used instead of a safe type (e.g., text/plain).
Webmin before 2.641 contains a stored cross-site scripting vulnerability in the email template description field of the System and Server Status module that allows low-privileged authenticated attackers to execute arbitrary JavaScript in the browser context of administrators by injecting unsanitized input stored in save_tmpl.cgi and rendered unescaped in list_tmpls.cgi.