Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain LDAP write access to Samba attributes
-
DeliveryInject markup into sambaAcctFlags/sambaBadPasswordCount
-
ExploitAdmin opens user entry in Webmin editor
-
ExecutionStored script executes in admin's browser
-
ImpactHijack authenticated Webmin admin 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 preconditions: (1) the Webmin ldap-useradmin module must be deployed and in use for LDAP-backed user management with Samba attributes present; (2) the attacker must already hold LDAP write access to the sambaAcctFlags and/or sambaBadPasswordCount attributes of a user entry (PR:H) - this is not available to anonymous or unauthenticated attackers; and (3) a Webmin administrator must subsequently open the poisoned user record in the editor (edit_user.cgi), satisfying the required user interaction (UI:P). Limiting factors: the privileged LDAP-write requirement confines this largely to insiders, delegated directory operators, or already-compromised accounts, and the dependency on an admin opening the specific entry means the payload is passive until that interaction occurs. It does not affect Webmin instances that do not use the LDAP/Samba user admin module. |
| Impact | This is a genuinely medium/low-priority issue rather than an urgent one, and the signals are internally consistent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N) scores 4.8 and reflects the real constraints: although the attack vector is network-reachable, exploitation requires PR:H (an attacker already holding LDAP write access to the specific Samba attributes) plus UI:P (a Webmin administrator must open the malicious user entry in the editor). The vuln.today decision label is 'this_month,' not act_now/emergency, which aligns with the high-privilege, user-interaction-dependent profile. No KEV listing, no EPSS score, and no confirmed exploit are present in the input, so there is no evidence of active or widespread exploitation - this is a stored XSS requiring a privileged precondition, not a mass-exploitable flaw. The impacts are rated Low across confidentiality and integrity with a scope change (script runs in the admin's authenticated browser context), meaning the realistic worst case is admin-session compromise by an insider or an already-privileged LDAP writer, not anonymous remote takeover. No signals conflict; the main gaps are missing EPSS and the absence of an explicitly confirmed PoC. |
| Exploit ScenarioDerived | An attacker who can write to a user's LDAP directory entry (for example a semi-trusted directory operator, a compromised service account, or a tenant with delegated LDAP write permission) stores a malicious script payload in the sambaAcctFlags or sambaBadPasswordCount attribute. The payload sits dormant until a Webmin administrator opens that user in ldap-useradmin/edit_user.cgi, at which point the unencoded attribute is rendered and the script executes in the administrator's authenticated session. No public exploit is identified in the provided data, though the trigger location is pinpointed in the referenced source (edit_user.cgi lines 292-296). |
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 lets an attacker who already holds LDAP write access to a user entry's sambaAcctFlags or sambaBadPasswordCount attributes plant markup that the ldap-useradmin edit_user.cgi editor renders without HTML encoding. Because exploitation requires both that privileged directory write position (PR:H) and a Webmin administrator subsequently opening the poisoned record (UI:P), the realistic risk is confined to insiders, delegated directory operators, or already-compromised accounts rather than anonymous remote attackers. No public exploit code or CISA KEV confirmation is present in the available data, and the CVSS 4.0 score of 4.8 with a this_month priority label reflects a medium/low-urgency issue; instances that do not use the LDAP/Samba user administration module are not affected.
RemediationAI
No vendor-released fixed version is identified in the supplied data - the references point to the upstream repository, the affected 2.670 source lines and an open issue (https://github.com/webmin/webmin/issues/2941) rather than to a patched release, so the appropriate status is that an upstream fix is tracked but a released patched version is not independently confirmed; administrators should monitor https://github.com/webmin/webmin and the VulnCheck advisory for the version that addresses it and upgrade to that release or later. Until then, the effective controls follow from the exploitation preconditions: restrict LDAP write access to the sambaAcctFlags and sambaBadPasswordCount attributes to the smallest possible set of trusted directory operators, since that write position is the entire entry point for the stored payload, at the cost of narrowing delegated administration workflows; and, where Samba account metadata in the Webmin editor is not operationally needed, remove or stop exposing those attributes in ldap-useradmin so the editor no longer renders them, with the trade-off that Samba account administration through Webmin is lost. Because the payload is passive until a Webmin administrator opens the poisoned entry, limiting which administrators browse untrusted directory records and reviewing user entries for unexpected markup reduces exposure, though neither measure removes the underlying missing output encoding.
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
Webmin's ldap-useradmin module is a CGI-based administrative interface for managing user accounts backed by an LDAP directory, and it exposes Samba-specific account metadata such as sambaAcctFlags and sambaBadPasswordCount in its user editor, edit_user.cgi (the referenced source lines 292-296 in the 2.670 tree). The flaw is CWE-79, improper neutralization of user-controllable input before it is placed in output used as a web page: values read back from the LDAP attributes are interpolated into the editor's HTML without encoding, so markup stored in the directory becomes live script in the administrator's browser session. The root cause is output encoding rather than any LDAP protocol weakness - the directory faithfully stores whatever an authorized writer submits. CPE data identifies the affected product line generically as webmin:webmin (all versions up to and including 2.670). The assessed CVSS 3.1 vector AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N matches the described prerequisites: a privileged writer, mandatory victim interaction, and scope change into the administrator's browser context with limited confidentiality and integrity impact and no availability impact. The exact rendering path and any browser- or module-specific behavior beyond the noted unencoded attribute output is not further described in the available sources.
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:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Requires existing LDAP write access to the Samba attributes (PR:H) and an admin opening the entry (UI:R); stored XSS executes in the admin's browser authority, giving S:C with low C/I and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Webmin through 2.670 contains a stored cross-site scripting vulnerability in ldap-useradmin/edit_user.cgi that allows attackers to inject markup through the LDAP sambaAcctFlags and sambaBadPasswordCount attributes, which are rendered without HTML encoding. Attackers with LDAP write access to these attributes can store malicious scripts that execute in a Webmin administrator's browser when the user entry is opened in the editor.
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-134910
GHSA-4wcv-h787-36cx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB