Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to LDAP directory entry
-
DeliveryStore script payload in an LDAP attribute value
-
ExploitWebmin admin browses entry via popup_browser.cgi
-
ExecutionUnencoded value renders, script runs in Webmin origin
-
ImpactPerform actions in admin's Webmin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete conditions: (1) Webmin must be using the ldap-client module and be pointed at an LDAP directory, (2) the attacker must have write access to an attribute value on a directory entry that an administrator will browse - notably without needing any Webmin account - and (3) a Webmin administrator must actively open that entry through popup_browser.cgi (or browser.cgi/edit_browser.cgi), satisfying the required user interaction (UI:P). The flaw is that LDAP attribute names and values at the referenced lines are printed directly into the HTML table without HTML encoding. Limiting factors: the required admin browsing action, the need for pre-existing LDAP write privilege, dependence on the optional LDAP client configuration, and Low-only confidentiality/integrity impact scoped to the Webmin web origin (no direct code execution or availability impact). |
| Impact | This is a medium-severity stored XSS (CVSS 4.0 base 5.1) whose signals point to a low-to-moderate, conditional risk rather than an urgent one. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) shows network reachability and low attack complexity, but two factors suppress real-world risk: PR:L (the attacker must hold write access to an LDAP directory entry) and UI:P (a Webmin administrator must actively browse the poisoned entry). Impact is Low across confidentiality and integrity with no availability impact, consistent with script execution in the Webmin origin rather than direct code execution. No EPSS score and no KEV listing were provided, so exploitation probability is not quantified and there is no evidence of active exploitation; the vuln.today decision label is 'this_month', not act_now/emergency, reinforcing a scheduled-patch rather than drop-everything posture. The input references include the fixing commit, a GitHub issue, a Zenodo DOI and a VulnCheck advisory, but none is labelled as confirmed working exploit code, so POC availability is not established. Note one nuance to verify: PR:L here reflects privilege over the external LDAP directory, not a Webmin account - the description explicitly states 'no Webmin account' is needed - so the 'authenticated' qualifier applies to LDAP write access, not to Webmin itself. |
| Exploit ScenarioDerived | An attacker who can write to an LDAP directory entry (for example a user record in a directory Webmin is configured to browse) stores an HTML/script payload in an attribute value. When a Webmin administrator later opens that entry via the LDAP client browser, the unencoded value renders and the script executes in the Webmin origin, potentially letting the attacker act in the admin's authenticated Webmin context. No confirmed public exploit code is identified, though the fixing commit discloses the exact vulnerable print statements. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Stored cross-site scripting in Webmin through 2.670 (ldap-client module) lets an attacker who can write to an LDAP directory attribute store markup that executes in the Webmin origin when an administrator opens the affected entry in the LDAP browser. No Webmin account is required for the injection step, but exploitation requires the administrator to browse the poisoned entry (UI:P), and impact is limited to low confidentiality/integrity within the Webmin origin. The issue is medium severity (CVSS 4.0 base 5.1); upstream fix code is available, and no public exploit was identified at time of analysis.
RemediationAI
Apply the upstream fix commit a2a3b1a87b15813851eece07965a6021a3e1789b, which HTML-escapes LDAP attribute names and values in ldap-client/browser.cgi, ldap-client/popup_browser.cgi, and ldap-server/edit_browser.cgi. Upstream fix available (PR/commit); released patched version not independently confirmed, so deploy a Webmin build that contains this commit or apply the change directly, and track the Webmin issue at https://github.com/webmin/webmin/issues/2941 and the VulnCheck advisory at https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-ldap-client-popup-browser-cgi for release status. Until updated, restrict write access to LDAP directory attributes that Webmin administrators may browse to trusted principals and avoid opening untrusted directory entries in the Webmin LDAP browser; this reduces exposure but does not fully remove the stored-XSS risk, because any writable attribute rendered by the vulnerable scripts remains a vector.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected code is Webmin's Perl-based LDAP client CGI interface. In ldap-client/popup_browser.cgi (referenced lines 60-61 and 98-99), and the same pattern in ldap-client/browser.cgi and ldap-server/edit_browser.cgi, LDAP attribute names and values are printed directly into the generated HTML table without HTML encoding. Because LDAP attribute values are attacker-influenced data, this is a stored cross-site scripting flaw (CWE-79): markup saved in a directory attribute is rendered as active HTML when an administrator views the entry. The upstream fix commit adds html_escape() around both attribute names and values in those three files. The CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* covers Webmin releases through 2.670. Exploitation is conditional on the Webmin installation actually using the ldap-client module and being pointed at an LDAP directory, and on an administrator actively opening the tainted entry; the required user interaction (UI:P) and the Low-only scoped confidentiality/integrity impact are reflected in the assessed vector.
Know when Webmin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
PR:L for required LDAP write access, UI:R because an admin must browse the entry, and S:C because the stored payload executes in the separate Webmin origin; impact Low with no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in Webmin Multiple Security Vulnerabilities
View all 34An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid
file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited
software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi
Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity
In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr
SSRF exists in Webmin 1.850 via the PATH_INFO to tunnel/link.cgi, as demonstrated by a GET request for tunnel/link.cgi/h
Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow
Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t
Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru
CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati
Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for
EUVD-2026-134921
GHSA-px4h-c74f-vg2h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB