CVE-2026-134442 in Webmininfo

Summary

by MITRE • 11/25/2026

Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-client/popup_browser.cgi that allows attackers to inject markup by storing it in LDAP attribute values printed without HTML encoding. Attackers with write access to an LDAP directory entry, needing no Webmin account, can execute scripts in the Webmin origin when an administrator browses that entry.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in Webmin versions through 2.670 represents a significant security flaw within the ldap-client module, specifically located in the popup_browser.cgi script. This component is responsible for displaying LDAP directory entries to administrators via a web interface. The core technical issue stems from improper neutralization of user input before its inclusion in HTML output, which classifies this as a Stored Cross-Site Scripting vulnerability according to Common Weakness Enumeration standards such as CWE-79. Unlike reflected XSS attacks that require immediate interaction with malicious links, stored vulnerabilities persist on the target server, making them particularly dangerous because they affect every administrator who views the compromised data without requiring any specific trigger beyond normal browsing operations.

The mechanism of exploitation relies heavily on the attacker's ability to write or modify LDAP directory entries. An adversary possessing write access to an LDAP entry can inject malicious JavaScript code into attribute values that are subsequently rendered by Webmin. Because the popup_browser.cgi script fails to apply HTML encoding when displaying these attributes, the browser interprets the injected content as executable scripts rather than plain text. This lack of output validation allows the attacker's payload to execute within the context of the Webmin application origin. The severity is amplified by the fact that this exploitation does not require a valid Webmin account for the attacker; only write access to the LDAP directory is necessary, which may be granted through various authentication mechanisms or misconfigurations in the underlying LDAP server infrastructure.

From an operational perspective, the impact of this vulnerability extends beyond simple script execution. Since the scripts run with the privileges and context of the authenticated administrator viewing the entry, attackers can perform actions that mimic legitimate administrative behavior. This includes stealing session cookies, hijacking active sessions, performing unauthorized configuration changes within Webmin, or pivoting to other internal systems if the browser has access to them via single sign-on mechanisms. The attack aligns with MITRE ATT&CK techniques related to Client-side Scripting Injection and potentially Credential Access through cookie theft, depending on the specific payload delivered by the attacker.

Mitigation strategies must address both immediate remediation and long-term architectural improvements. The primary defense is upgrading Webmin to version 2.671 or later, where this input validation issue has been resolved. For environments unable to upgrade immediately, administrators should restrict write access to LDAP directories strictly to trusted accounts with the principle of least privilege applied rigorously. Additionally, implementing a Content Security Policy header within the Webmin configuration can help mitigate the impact by restricting the sources from which scripts are allowed to execute, thereby preventing many common XSS payloads even if they are successfully injected into the page structure. Regular auditing of LDAP entries for unexpected content and ensuring that all user-supplied data is properly encoded before rendering in HTML contexts remains a critical best practice for maintaining web application security integrity.

Responsible

VulnCheck

Reservation

11/21/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00392

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!