Webmin XSS Stored and Reflected Vulnerabilities
2026-11-25
Stored cross-site scripting in Webmin through 2.670 lets unauthenticated attackers plant script payloads via failed-login usernames, which persist once the name is added to the blocked-users list and execute in the browser of any administrator who later opens the edit_blocked.cgi page. Successful exploitation requires the attacker to keep submitting crafted usernames until the account is blocked, plus passive interaction from a privileged admin viewing the blocked-users page (assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), so impact is confined to script execution in the administrator's session with low confidentiality and integrity effect and no availability impact rather than direct server compromise. No public exploit code is identified in the available data, the issue is not in CISA KEV, and the upstream report is tracked as Webmin GitHub issue #2941 with a VulnCheck advisory; priority is assessed as this-month rather than immediate action.
Stored cross-site scripting in Webmin's mailbox attachment viewer (mailboxes/detach.cgi) in versions through 2.670 allows an unauthenticated mail sender to plant HTML that executes script inside a Webmin user's session when that user opens the attachment. Delivery requires only the ability to send an email with a crafted HTML/SVG attachment; exploitation requires the victim to open it in Webmin's mailboxes module (user interaction, UI:P), so the flaw cannot be triggered server-side. Impact is bounded to the victim's Webmin session (scope-changed, low confidentiality/integrity impact, vendor CVSS 4.0 score 5.3 Medium); no KEV entry or public exploit code was referenced in the available intelligence, and installations that do not read mail through Webmin's mailboxes module are not exposed.
Stored cross-site scripting in the Webmin Servers Index module lets an attacker on the same broadcast domain answer a UDP server-discovery scan with a crafted reply whose realhost value is stored by find_servers() and later rendered without escaping by edit_serv.cgi, executing script in the session of a Webmin operator. The CVSS 4.0 vector (AV:A/AC:L/PR:N/UI:P, scope-changed with low confidentiality and integrity impact) reflects that exploitation needs layer-2 adjacency, an operator-initiated discovery scan, and the operator subsequently opening the discovered server's edit page - so there is no internet-facing or fully unattended path. The issue affects Webmin through 2.670 and is fixed upstream in commit 7665575, which HTML-escapes realhost; no public exploit code was identified at time of analysis and no CISA KEV entry exists, and the source tracks it at this_month priority rather than as an emergency.
Stored cross-site scripting in Webmin's ldap-useradmin module (raw.cgi) affects installations up to and including version 2.670 that administer an LDAP backend. An attacker who can write LDAP attributes - user or group attributes, or the entry's DN - can persist markup that is rendered without escaping and executes in an administrator's browser when that administrator opens the raw entry view, giving the attacker script execution in a privileged Webmin session (CVSS 3.1 5.1, scope-changed, limited confidentiality and integrity impact). Exploitation requires a semi-privileged directory-writing account plus an administrator opening the affected entry; no public exploit code has been identified at time of analysis with no public exploit identified at time of analysis, and the vendor has published an upstream fix commit.
Stored cross-site scripting in Webmin through 2.670 allows an authenticated MySQL user holding CREATE or ALTER privileges to embed an HTML/JavaScript payload in a column name, which is rendered unescaped by the MySQL module's view_table.cgi page and executes in a Webmin administrator's session when that table is opened. The attack is not self-triggering: it requires a privileged database account to plant the payload and a passive administrator visit to the affected table to fire (CVSS 4.0 5.1, PR:L/UI:P, scope changed). No public exploit code is identified at time of analysis; the exposure is bounded to installations at or below 2.670 that actively use the MySQL module and whose administrators browse administrator-controlled table schemas.
Stored cross-site scripting in Webmin through version 2.670 allows an authenticated attacker who already holds write access to LDAP entry attributes to plant HTML/JavaScript markup inside attribute names or values. The payload is rendered unencoded by the LDAP Server directory browser (ldap-server/edit_browser.cgi), so when a Webmin administrator opens the poisoned entry the script executes in the Webmin origin with that administrator's session privileges. Exploitation is not automatic: it requires the LDAP Server module to be configured and in use, plus an administrator viewing the malicious entry, which is why it is rated medium severity (CVSS 4.0 base 5.1; assessed CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N). No public exploit code or active exploitation has been identified, and the vendor has published a fix commit.
Stored cross-site scripting in Webmin's printing module (lpadmin/list_jobs.cgi) lets anyone who can submit a CUPS print job plant script inside a crafted job title or filename, which is then rendered unescaped on the Printer Administration jobs page. The flaw affects Webmin through 2.670 running with the lpadmin module and a CUPS backend, and the script executes in the session of a Webmin administrator who opens the jobs listing, with low confidentiality and integrity impact and no availability impact per the assessed vector. Exploitation requires print-submission access (a local account, or a network IPP client where CUPS accepts remote submissions) plus an administrator actively viewing the page; KEV status is not asserted and no public exploit was identified at time of analysis, and the vendor has published an upstream fix commit.
Stored cross-site scripting in Webmin through 2.670 allows unauthenticated attackers to plant script content in Apache's ErrorLog and have it execute inside a logged-in Webmin user's session when the Apache restart page renders that log output. The vulnerable sink is apache/restart.cgi, which prints the last five ErrorLog lines without HTML escaping and only does so when an Apache restart fails, so the attack depends on a narrow chain of conditions rather than a single remote request. No public exploit code was identified at time of analysis, exploitation has not been confirmed in the wild, and the vendor has published an upstream fix commit.
Cross-site scripting in Webmin through 2.670 lets an attacker who already sits on the network path between Webmin and rpmfind.net or Google inject script into search results that Webmin renders without escaping, executing in a logged-in administrator's browser inside the Webmin origin. Exploitation requires the on-path position, plaintext HTTP search traffic, and a user actively running a package or man-page search, so severity is low (CVSS 2.3; assessed 3.1 vector AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N). No public exploit code and no confirmed active exploitation were identified at time of analysis, and the vuln.today priority label is monitor.