CVE-2026-134441 in Webmininfo

Summary

by MITRE • 11/25/2026

Webmin through 2.670 contains a stored cross-site scripting vulnerability in the Upload and Download module that allows attackers to inject script via unescaped HTTP status lines from background downloads. Attackers controlling a download server can return a malicious status line stored by updown/download.pl and printed unescaped by updown/index.cgi, executing script in a higher-privileged user's session.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in Webmin versions through 2.670 represents a significant security flaw within the Upload and Download module, specifically classified as a stored cross-site scripting (XSS) issue. This defect arises from improper input validation and output encoding mechanisms when handling HTTP responses during background download operations. The core technical failure lies in how the system processes status lines returned by remote servers accessed via the updown/download.pl script. Instead of sanitizing or escaping these external inputs, Webmin stores them directly into its internal state without applying necessary character escapes for HTML context. Subsequently, when a user interacts with the module through the web interface invoked by updown/index.cgi, this unescaped data is rendered directly within the HTTP response body sent to the client browser. This architectural oversight allows malicious actors who control or compromise an external download server to inject arbitrary JavaScript code into the status line of their HTTP responses.

From a technical perspective, this vulnerability exploits the trust relationship between the Webmin application and its users. When a user initiates a background download through the Webmin interface, the system acts as a proxy, fetching content from a specified remote host. If that remote host is under the attacker's control, it can return an HTTP status line containing malicious script payloads rather than standard status codes like 200 OK or 404 Not Found. Because the updown/download.pl component stores this raw input without sanitization, and the index.cgi interface fails to encode special characters such as angle brackets, ampersands, and quotes before rendering them in the HTML page, the browser interprets these injected strings as executable code. This execution occurs within the context of the currently logged-in user's session, granting the attacker the ability to run scripts with the same privileges as that user.

The operational impact of this vulnerability is severe due to its stored nature and potential for privilege escalation. Unlike reflected XSS attacks which require tricking a user into clicking a malicious link, stored XSS persists on the server side, affecting any administrator or privileged user who views the download history or status page after the malicious payload has been injected. An attacker can leverage this capability to steal session cookies, hijack administrative sessions, perform actions on behalf of the victim such as modifying system configurations, exfiltrating sensitive data from the Webmin interface, or even using the compromised server as a pivot point for further network attacks. Given that Webmin is often used by system administrators with high-level access, successful exploitation can lead to complete compromise of the underlying operating system and associated services.

This vulnerability aligns closely with CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. Specifically, it falls under the subcategory of Stored XSS where malicious scripts are permanently stored within target servers. In terms of offensive security frameworks, this attack vector corresponds to MITRE ATT&CK technique T1059, Command and Scripting Interpreter, specifically JavaScript execution in a browser context. It also relates to T1078, Valid Accounts, as the attacker leverages valid user sessions to execute malicious code within an authorized environment. The exploitation chain demonstrates how external data sources can become vectors for injection if proper validation boundaries are not enforced at both ingestion and egress points of application logic.

Mitigation strategies must focus on immediate remediation through software updates and defensive coding practices. The primary solution is to upgrade Webmin to version 2.671 or later, where the developers have addressed this input handling flaw by implementing proper output encoding for all data rendered in HTML contexts. For organizations unable to patch immediately, network-level controls such as web application firewalls can be configured to detect and block requests containing suspicious patterns associated with XSS payloads in HTTP status lines or response bodies. Additionally, administrators should enforce strict Content Security Policy headers that restrict the execution of inline scripts unless explicitly whitelisted, thereby mitigating the impact even if an injection occurs. Regular auditing of third-party modules and limiting administrative access to trusted networks further reduces the attack surface available for such exploitation attempts.

Responsible

VulnCheck

Reservation

11/21/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00313

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!