Skip to main content

Webmin EUVDEUVD-2026-134929

| CVE-2026-134340 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-25 VulnCheck GHSA-829m-4f3v-pv44
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain layer-2 adjacency to network
  2. Delivery
    Answer UDP discovery scan with malicious realhost
  3. Exploit
    Payload stored by find_servers()
  4. Execution
    Operator opens edit_serv.cgi, realhost rendered unescaped
  5. Impact
    JavaScript 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Webmin 0 ≤2.670

Affected Packages

euvd webmin no fix

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.2 MEDIUM

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.

3.1 AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:A/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 76% exploitable
Prevalence
High
widely deployed open-source Unix/Linux web-based server management panel
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Webmin

View all
CVE-2019-15107 CRITICAL POC
9.8 Aug 16

An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2012-2982 MEDIUM POC
6.5 Sep 11

file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid

CVE-2012-2983 MEDIUM POC
5.0 Sep 11

file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited

CVE-2022-36446 CRITICAL POC
9.8 Jul 25

software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi

CVE-2022-0824 HIGH POC
8.8 Mar 02

Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity

CVE-2019-12840 HIGH POC
8.8 Jun 15

In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr

CVE-2017-15644 HIGH POC
8.6 Oct 19

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

CVE-2019-9624 HIGH POC
7.8 Mar 07

Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow

CVE-2015-2079 CRITICAL POC
9.9 Apr 28

Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t

CVE-2021-31761 CRITICAL POC
9.6 Apr 25

Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru

CVE-2017-15645 HIGH POC
8.8 Oct 19

CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati

CVE-2022-35132 HIGH POC
8.8 Oct 25

Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy