CVE-2026-134645 in Webmininfo

Summary

by MITRE • 11/25/2026

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.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in Webmin versions through 2.670 represents a significant security flaw within the proc/trace.cgi module, classified as a stored cross-site scripting (XSS) issue. This specific type of vulnerability arises from inadequate input validation and sanitization mechanisms when handling process arguments and system call parameters passed to the tracing functionality. Unlike reflected XSS where malicious scripts are executed immediately via a crafted URL, this flaw allows an attacker to persistently inject executable script code into the application's context by manipulating data that is stored on the server side for later retrieval and display. The core technical failure lies in the processing of unescaped process arguments and system call parameters, particularly those associated with file names passed during open operations or command lines executed by processes being traced. When a Webmin user initiates a trace operation on such a compromised process, the application renders these unsanitized inputs directly into the HTML response without proper encoding, thereby enabling the execution of arbitrary JavaScript in the context of the victim's active session.

From an operational perspective, this vulnerability poses severe risks to both confidentiality and integrity within environments relying on Webmin for system administration. Because the attack requires local unprivileged OS users to craft specific process command lines or file names, it exploits a trust boundary between operating system-level processes and the web-based administrative interface. An attacker with low-privilege access can leverage this flaw to hijack administrator sessions by stealing session cookies, performing actions on behalf of authenticated users, or defacing the Webmin interface. The impact is particularly acute in multi-user systems where multiple individuals may have varying levels of access but share the same underlying operating system environment. By injecting malicious scripts that execute upon viewing traced processes, an attacker can bypass standard web security controls such as Same-Origin Policy restrictions if combined with other vulnerabilities or misconfigurations, potentially leading to full compromise of the administrative console and subsequent control over the managed server infrastructure.

This vulnerability aligns closely with Common Weakness Enumeration (CWE) category CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. Specifically, it falls under stored XSS variants where malicious content is saved on target servers and subsequently delivered to other users. In terms of the MITRE ATT&CK framework, this exploitation technique maps to T1059 Command and Scripting Interpreter via browser-based interactions or potentially T1078 Valid Accounts if used in conjunction with credential theft from session hijacking. The attack vector leverages the legitimate functionality of process tracing, which is a standard feature for debugging and monitoring system activity, thereby making it difficult to distinguish malicious traces from routine administrative tasks without deep inspection of input handling logic.

Mitigation strategies must focus on rigorous input validation and output encoding practices within the Webmin codebase. Developers should implement strict allow-listing for characters permitted in process arguments and file names passed to tracing functions, ensuring that any potentially dangerous HTML or JavaScript entities are encoded before being rendered in the browser context. Additionally, implementing Content Security Policy (CSP) headers can provide a layer of defense-in-depth by restricting the sources from which scripts can be executed, thereby mitigating the impact even if an injection attempt succeeds. For immediate risk reduction, administrators should restrict access to the proc/trace.cgi module to only those users who absolutely require it and ensure that Webmin is updated to version 2.671 or later where this flaw has been addressed. Regular security audits of web application input handling mechanisms are essential to prevent similar vulnerabilities in other modules that process dynamic user-supplied data for display purposes.

Responsible

VulnCheck

Reservation

11/21/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00204

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!