CVE-2026-134445 in Webmin
Summary
by MITRE • 11/25/2026
Webmin through 2.670 contains a cross-site scripting vulnerability in status/edit_mon.cgi that allows attackers to inject scripts through unescaped monitor status descriptions. Malicious HTTP or FTPS server operators, on-path attackers, or local users creating crafted filenames in wildcard-monitored directories can execute JavaScript in a Webmin user's session.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/25/2026
The identified vulnerability resides within the Webmin administrative interface, specifically affecting versions up to 2.670 and targeting the status/edit_mon.cgi module. This component is responsible for managing monitor statuses, which are often used by system administrators to track the health of various services or network endpoints. The core technical flaw is a cross-site scripting (XSS) issue caused by insufficient input validation and output encoding when handling user-supplied data. Specifically, the application fails to properly escape special characters in monitor status descriptions before rendering them within the web interface's HTML context. This lack of sanitization allows an attacker to inject malicious JavaScript code that will be executed by any victim who views the affected page through their browser.
The attack vectors for this vulnerability are diverse and exploit different trust boundaries within the Webmin ecosystem. First, operators of malicious HTTP or FTPS servers can craft responses containing script payloads in fields that might be reflected back into the monitoring status if those services are being monitored by a victim using vulnerable Webmin software. Second, on-path attackers who have access to network traffic between the client and server could potentially manipulate data streams to inject scripts, although this is more complex due to encryption typically used in such communications. The most direct vector involves local users or any individual with write access to directories configured for wildcard monitoring. By creating files with crafted filenames that contain script payloads within these monitored directories, an attacker can trigger the execution of arbitrary JavaScript code when a Webmin administrator views the status page associated with those monitors.
The operational impact of this vulnerability is significant because it compromises the confidentiality and integrity of administrative sessions. Since Webmin provides high-level system administration capabilities, successful exploitation allows attackers to perform actions on behalf of the authenticated user without their knowledge or consent. This can lead to session hijacking, where the attacker steals cookies or authentication tokens to gain persistent access. It also enables data theft, such as exfiltrating sensitive configuration details or credentials displayed within the interface. Furthermore, the vulnerability can be used to deface the administrative dashboard or redirect users to phishing sites designed to steal further credentials. The ability to execute scripts in the context of an administrator's session effectively bypasses same-origin policy protections and grants the attacker a foothold for deeper lateral movement within the network infrastructure managed by Webmin.
From a classification perspective, this vulnerability aligns with CWE-79, which describes Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting (XSS). The specific mechanism involves reflected or stored input that is not properly encoded before being rendered in an HTML context. In terms of the MITRE ATT&CK framework, this vulnerability facilitates techniques related to Client-Side Injection and potentially Credential Access if session tokens are stolen. It also supports persistence mechanisms by allowing attackers to maintain access through compromised administrative sessions. The reliance on wildcard monitoring introduces a unique risk surface where file system interactions directly translate into web application vulnerabilities, highlighting the importance of strict input validation in all data entry points that feed into dynamic content generation.
Mitigation strategies should focus primarily on upgrading Webmin to version 2.671 or later, where this issue has been addressed through improved output encoding and stricter input sanitization protocols. Administrators who cannot immediately upgrade must implement compensating controls such as restricting access to the Webmin interface via IP whitelisting to prevent exposure to external threats. Additionally, enforcing strict file naming conventions in wildcard-monitored directories can reduce the risk of local exploitation by preventing the creation of files with special characters that could be interpreted as code. Regular security audits and penetration testing should include checks for XSS vulnerabilities in administrative interfaces, particularly those involving dynamic content generation from user-controlled inputs like monitor statuses or log entries.