Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain layer-2 adjacency to network
-
DeliveryAnswer UDP discovery scan with malicious realhost
-
ExploitPayload stored by find_servers()
-
ExecutionOperator opens edit_serv.cgi, realhost rendered unescaped
-
ImpactJavaScript executes in Webmin admin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concrete prerequisites must all hold: (1) the attacker must be on the same broadcast domain / layer-2 segment as the Webmin host (AV:A - not exploitable over the internet); (2) a Webmin operator must actively use the Servers Index module to perform a UDP server-discovery scan, so that an attacker-supplied discovery reply is captured and stored by find_servers(); and (3) the operator must subsequently view the discovered server in edit_serv.cgi (Webmin ≤ 2.670), where the realhost field is rendered unescaped (UI:P, authenticated Webmin session). Limiting factors: the required network adjacency sharply narrows the attacker population, and the dependency on operator-initiated discovery plus page rendering means there is no fully unattended, remote-unauthenticated path; the issue is fixed by the vendor commit that HTML-escapes realhost. |
| Impact | This is a genuinely moderate-to-low real-world priority rather than an urgent emergency, and the signals are consistent on that point. The CVSS 4.0 vector (AV:A/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, base 5.1 Medium) encodes the two factors that most limit this flaw: AV:A means the attacker must sit on the same broadcast domain (not internet-reachable), and UI:P means a Webmin operator must actively run a server-discovery scan and then open the affected page before the stored payload fires. PR:N confirms the injecting attacker needs no Webmin authentication - they simply answer a UDP discovery broadcast. Impact is limited (VC:L/VI:L) because this is a CWE-79 stored XSS executing in the browser session, not direct code execution on the host. No EPSS score, KEV listing, or exploit-code flag is present in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is 'this_month', aligning with the medium severity: patch in the normal monthly cycle. The main caveat: the adjacency and user-interaction requirements make this far less dangerous than the raw CWE-79 class suggests, but a successful hit lands in an administrative panel, so the consequence of the limited XSS is elevated by the privileged context of Webmin itself. |
| Exploit ScenarioDerived | An attacker already present on the target's local network segment waits for (or provokes) a Webmin administrator to run a server-discovery scan from the Servers Index module. The attacker answers the UDP discovery broadcast with a reply whose realhost field contains HTML/JavaScript; find_servers() stores it and edit_serv.cgi later renders it unescaped, so the script executes in the administrator's authenticated Webmin session when they view the discovered server. No public exploit code is identified at time of analysis, and the attack is gated by both layer-2 adjacency and the operator's interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
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.
RemediationAI
Vendor-released patch: upstream commit 766557590de2a844fe0f3c37de9673b48497b3f9 in the Webmin repository HTML-escapes realhost in servers/edit_serv.cgi, escapes the link/host/user values in servers/index.cgi and servers/link.cgi, and validates the stored server type against /^[\w\-]+$/ before it is used for icon paths; a released Webmin version number containing this fix is not named in the available data, so confirm the installed build includes the commit (https://github.com/webmin/webmin/commit/766557590de2a844fe0f3c37de9673b48497b3f9) or take the vendor's update route before relying on it as fixed. Where updating cannot be done immediately, the exposure is driven entirely by the discovery feature, so compensating controls should target it: remove the Servers Index module from non-administrative Webmin users and disable or refrain from running UDP discovery scans from that module (trade-off: loses automatic cluster/server discovery and the resulting one-click links, leaving servers to be registered manually), and keep the Webmin host off layer-2 segments shared with untrusted or guest hosts, since the required broadcast-domain adjacency is the main barrier to the attack (trade-off: segmentation and guest-VLAN isolation work only if the Webmin server is re-homed accordingly). Because the payload executes in an authenticated Webmin session, treat any host that has run discovery on an untrusted segment as potentially exposed and review administrator session activity; further context is in the advisory at https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-servers-index-discovery-realhost-field and the upstream issue at https://github.com/webmin/webmin/issues/2941.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Webmin is a Perl/CGI-based web administration console for Unix-like systems. Its Servers Index module implements cluster/server discovery: servers-lib.pl's find_servers() collects UDP discovery replies from the local network and persists attributes such as realhost, host, user/autouser and type for each discovered machine. Because these values originate from an untrusted network peer rather than from the administrator, they are attacker-influenced stored data. The flaw is CWE-79 (improper neutralization of input during web page generation): edit_serv.cgi interpolated $s->{'realhost'} directly inside a <tt> element, so HTML or JavaScript in the discovery reply was stored and then executed in the operator's authenticated Webmin session when the record was viewed. The upstream commit addresses the whole rendering path rather than a single sink - it adds &html_escape() around realhost in edit_serv.cgi, around links in index.cgi, around host and user values in link.cgi, and it constrains the stored 'type' field to /^[\w\-]+$/ (falling back to 'unknown') before that value is used to build icon image paths, closing a related path-traversal-style injection into the same rendering flow. The CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* identifies Webmin itself, with the description bounding affected releases as through 2.670.
Know when Webmin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Adjacent unauthenticated attacker answers a UDP discovery reply (AV:A, PR:N, AC:L), but a Webmin operator must view the page (UI:R); stored script crosses into the browser session (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in Webmin XSS Stored and Reflected Vulnerabilities
View all 9An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid
file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited
software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi
Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity
In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr
SSRF exists in Webmin 1.850 via the PATH_INFO to tunnel/link.cgi, as demonstrated by a GET request for tunnel/link.cgi/h
Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow
Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t
Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru
CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati
Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for
EUVD-2026-134929
GHSA-829m-4f3v-pv44
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB