CVE-2026-134439 in Webmin
Summary
by MITRE • 11/25/2026
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.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The vulnerability identified in Webmin through version 2.670 represents a significant security risk classified as a Stored Cross-Site Scripting (XSS) flaw. This type of attack occurs when an application stores malicious script content and subsequently serves it to other users without proper validation or encoding. In the context of Webmin, which is widely used for system administration tasks on Unix-like systems, this vulnerability allows attackers to inject executable JavaScript code into pages viewed by administrators. The core technical flaw lies in how certain cluster modules render values sourced from managed hosts. Specifically, fields such as server descriptions, version numbers, user and group names, or package information are displayed within the central administrator's interface without being properly escaped. This lack of output encoding means that any special characters embedded in these strings, including HTML tags and JavaScript event handlers, are interpreted directly by the browser rather than treated as plain text data.
The operational impact of this vulnerability is severe due to its stored nature. Unlike reflected XSS attacks which require tricking a user into clicking a malicious link, stored XSS persists on the server side. Once an attacker successfully injects their payload, it remains active until manually removed from the database or configuration files. An attacker can achieve code execution in several ways depending on their level of access within the Webmin environment. If they have permission to edit a Servers Index description, they can directly insert malicious scripts into that field. Alternatively, if an attacker controls a managed host connected via RPC (Remote Procedure Call), they can manipulate the data returned by that host during synchronization or status checks. By spoofing or altering the response from the managed node, the administrator's browser will render the injected script every time it loads the affected cluster page. This persistence ensures repeated exposure to any admin who views the compromised section of the interface.
From a threat actor perspective, this vulnerability enables session hijacking and privilege escalation within the Webmin environment. Since the scripts execute in the context of the administrator's active session, attackers can steal sensitive cookies or authentication tokens associated with that session. This allows them to impersonate the administrator without needing valid credentials for subsequent interactions. Furthermore, because Webmin often provides deep access to system configurations, network settings, and user management tools, a compromised administrative session could lead to full control over the underlying server infrastructure. Attackers might use this foothold to install backdoors, exfiltrate sensitive data, or pivot into other parts of the internal network. The ability to inject payloads via RPC links also suggests that even partial compromise of a managed node can escalate to complete compromise of the central management console, highlighting a critical trust assumption in the cluster architecture.
Industry standards provide clear frameworks for understanding and mitigating this risk. This vulnerability aligns with CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. More specifically, it falls under CWE-80 where the application fails to neutralize special characters before including them in output. In terms of offensive security tactics, this maps directly to MITRE ATT&CK technique T1059 Command and Control via Application Layer Protocol if used for beaconing, or more commonly T1213 Data from Information Repositories if used to exfiltrate data stolen from the admin session. The attack vector also relates to T1190 Exploit Public-Facing Application, particularly when combined with initial access vectors that allow editing of server descriptions or controlling managed hosts.
Mitigation strategies must focus on both immediate remediation and long-term architectural improvements. The most effective solution is to upgrade Webmin to a version later than 2.670 where the developers have implemented proper input validation and output encoding for all cluster-related fields. Administrators should ensure that their deployment pipelines include automated vulnerability scanning tools configured to detect outdated software versions with known CVEs. For environments where immediate patching is not feasible, implementing strict Content Security Policy (CSP) headers can significantly reduce the impact of XSS attacks by restricting the sources from which scripts are allowed to load and execute. Additionally, enforcing least-privilege access controls ensures that fewer users have the ability to edit server descriptions or manage cluster nodes, thereby reducing the attack surface. Regular audits of RPC configurations and managed host trust relationships should also be conducted to prevent unauthorized manipulation of data streams between the central console and its subordinate nodes.