Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain LDAP attribute write access
-
DeliveryStore script markup in attribute value
-
ExploitAdmin opens entry in LDAP browser
-
ExecutionUnencoded script executes in Webmin origin
-
ImpactAct with administrator's 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 (1) an account with write access to LDAP entry attribute values in a Webmin deployment that actually uses the LDAP Server module, and (2) a Webmin administrator subsequently browsing the poisoned entry via the LDAP Server directory browser (ldap-server/edit_browser.cgi) - the payload is stored and only fires on that admin view (UI:P). Limiting factors: the attacker must already possess LDAP attribute write privileges (PR:L, not unauthenticated), the vulnerable LDAP Server module must be configured and in use, and a privileged user must trigger the stored payload by viewing the entry, so there is no automatic or purely attacker-driven execution. |
| Impact | This is a medium-severity (CVSS 4.0 base 5.1) stored XSS requiring an authenticated attacker who already holds write access to LDAP entry attributes (PR:L) plus victim interaction (UI:P) - an administrator must browse the malicious entry in the LDAP Server directory browser before the payload fires. These signals are mutually consistent: network-reachable (AV:N) and low complexity (AC:L) but gated behind existing write privileges and a required admin browsing action, so this is not a remote-unauthenticated mass-exploitation candidate. No EPSS score, KEV listing, or confirmed working exploit code is present in the input; the Decision label is 'this_month' (not act_now/emergency), aligning with a real-but-non-urgent priority. The genuine payoff is privilege escalation/session takeover - script runs in the Webmin origin with the administrator's session (SC:L/SI:L reflecting the cross-origin/privilege-boundary impact) - which raises the stakes above a typical self-XSS, but the prerequisite LDAP attribute-write access substantially narrows the realistic attacker population. Overall: a legitimate patch-this-cycle issue rather than a drop-everything emergency, with the caveat that any environment where lower-privileged users can write LDAP attributes browsed by admins should treat it more seriously. |
| Exploit ScenarioDerived | An attacker who can write values to LDAP entry attributes (e.g., a lower-privileged directory user or a tenant with delegated write access) stores HTML/script markup in an attribute value. When a Webmin administrator later opens that entry in the LDAP Server directory browser, the unencoded markup executes in the Webmin origin under the admin's session, allowing the attacker to act as the administrator. No confirmed public exploit code is present, though the vulnerable sink and fix are documented in the vendor commit and VulnCheck advisory. |
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 version 2.670 allows an authenticated attacker who already holds write access to LDAP entry attributes to plant HTML/JavaScript markup inside attribute names or values. The payload is rendered unencoded by the LDAP Server directory browser (ldap-server/edit_browser.cgi), so when a Webmin administrator opens the poisoned entry the script executes in the Webmin origin with that administrator's session privileges. Exploitation is not automatic: it requires the LDAP Server module to be configured and in use, plus an administrator viewing the malicious entry, which is why it is rated medium severity (CVSS 4.0 base 5.1; assessed CVSS 3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N). No public exploit code or active exploitation has been identified, and the vendor has published a fix commit.
RemediationAI
Vendor-released fix: commit a2a3b1a87b15813851eece07965a6021a3e1789b in https://github.com/webmin/webmin adds html_escape() around attribute names and values in ldap-server/edit_browser.cgi, ldap-client/browser.cgi and ldap-client/popup_browser.cgi; upgrade Webmin past 2.670 to a build that contains this commit (the advisory lists patch status as available from the vendor, and the exact released version carrying the fix is not stated in the input data, so confirm the changelog before deploying). If upgrading cannot be done immediately, reduce exposure by removing LDAP attribute write privileges from untrusted or delegated principals so hostile markup cannot be stored, and by disabling the LDAP Server / LDAP Client modules on hosts where directory browsing is not needed (trade-off: loss of that administrative functionality); administrators should also avoid browsing LDAP entries that originate from untrusted writers until the fix is applied. Remediation guidance and patch confirmation are available at https://github.com/webmin/webmin/issues/2941 and https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-ldap-server-edit-browser-cgi.
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 is a Perl-based web administration front end whose modules are implemented as CGI scripts. The affected page, ldap-server/edit_browser.cgi, renders LDAP directory entries into an HTML table; the attribute name ($a) and its value list (@v) were interpolated directly into the printed markup without output encoding. The same unescaped join of attribute names and values existed in two sibling scripts, ldap-client/browser.cgi and ldap-client/popup_browser.cgi. Because LDAP attribute values are attacker-influenced data that persist in the directory, this is a CWE-79 stored (persistent) cross-site scripting issue rather than a reflected one: the injection survives until an administrator browses the entry. The upstream fix commit a2a3b1a87b15813851eece07965a6021a3e1789b wraps every attribute name and each value with Webmin's html_escape() routine (map { &html_escape($_) } @v) in all three scripts, converting the stored markup into inert text at render time. Note that the fix does not prevent storage of hostile markup - it only removes execution when displayed.
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
Attacker needs existing LDAP attribute-write access (PR:L) and an admin must view the entry (UI:R); stored script executing in the Webmin admin origin crosses a privilege boundary (S:C) with limited C/I impact and 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-server/edit_browser.cgi that allows attackers with write access to LDAP entry attributes to inject script by storing markup in attribute values. When an administrator browses the entry in the LDAP Server directory browser, the unencoded script runs in the Webmin origin, letting attackers act with the administrator's session.
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 XSS Stored and Reflected Vulnerabilities
View all 9An 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-134926
GHSA-pgrq-34fx-vrpj
NVD
CVE.org
EPSS
Exploit-DB