Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with LDAP attribute write access
-
ExploitInject script into user/group attribute or DN
-
ExecutionAdministrator opens raw entry in raw.cgi
-
ImpactStored script executes in admin's browser 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 prerequisites, all grounded in the description and CVSS vector: (1) a Webmin instance using the ldap-useradmin module against an LDAP backend; (2) an attacker holding LDAP attribute write access (PR:L) sufficient to set user/group attributes or control the DN; and (3) passive administrator interaction (UI:P) - an admin must open the affected entry in the raw view (ldap-useradmin/raw.cgi) for the stored script to fire. These are also the limiting factors: this is not remotely exploitable against default configurations by an unauthenticated attacker - it needs an LDAP-backed deployment, a semi-privileged directory-writing account, and a victim admin action. The pre-patch code also lacked an edit-authorization check, which the fix adds alongside HTML escaping. |
| Impact | This is a moderate-priority stored XSS, not a drop-everything emergency, and the available signals are consistent with that. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) shows that while the attack is network-reachable with low complexity, it requires an already-authenticated actor holding LDAP attribute write access (PR:L) AND passive interaction from an administrator who views the raw entry (UI:P) - two real gates that keep this away from mass, unauthenticated exploitation. Impact is limited (VC:L/VI:L/VA:N with a scope change to SC:L/SI:L reflecting code running in the admin's browser context). The vuln.today Decision label is 'this_month' (moderate urgency), which aligns with: no CISA KEV listing, no EPSS score supplied, and no confirmed working exploit code. The product has a vendor patch available. There is a VulnCheck advisory and a Zenodo DOI reference, but neither is marked as verified working exploit code in the input, so treat exploitation as plausible-but-not-demonstrated rather than active. Missing data to note explicitly: no EPSS probability and no KEV status were provided, so widespread-exploitation likelihood cannot be quantified from this input; the realistic risk is targeted abuse by a semi-privileged LDAP user against a Webmin administrator, not internet-wide compromise. |
| Exploit ScenarioDerived | A user who can write LDAP directory attributes (e.g., a delegated or self-service account) stores a malicious markup/script payload in a user or group attribute, or in the DN itself. When a Webmin administrator opens that entry's raw view via ldap-useradmin/raw.cgi, the unescaped value renders and the script executes in the administrator's authenticated session. No confirmed working exploit code is identified in the input, though a VulnCheck advisory describes the issue. |
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's ldap-useradmin module (raw.cgi) affects installations up to and including version 2.670 that administer an LDAP backend. An attacker who can write LDAP attributes - user or group attributes, or the entry's DN - can persist markup that is rendered without escaping and executes in an administrator's browser when that administrator opens the raw entry view, giving the attacker script execution in a privileged Webmin session (CVSS 3.1 5.1, scope-changed, limited confidentiality and integrity impact). Exploitation requires a semi-privileged directory-writing account plus an administrator opening the affected entry; no public exploit code has been identified at time of analysis with no public exploit identified at time of analysis, and the vendor has published an upstream fix commit.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. Apply commit f6137ff68fa239928844199b719ef25b153eb664 from https://github.com/webmin/webmin/commit/f6137ff68fa239928844199b719ef25b153eb664, which adds HTML escaping of the DN, attribute names and values in ldap-useradmin/raw.cgi and restores per-entry edit authorization checks; track https://github.com/webmin/webmin/issues/2941 and the VulnCheck advisory for the packaged release that carries it, then upgrade Webmin to that build. If upgrading cannot be done immediately, reduce exposure by tightening which directory principals hold write access to user and group attributes and to DNs - the attack depends entirely on that write capability, so removing it from untrusted or delegated accounts neutralizes the stored payload vector, at the cost of restricting legitimate delegated directory administration. Where the ldap-useradmin module is not actively used, disabling it in Webmin's module configuration removes the raw.cgi endpoint altogether but also removes LDAP user and group administration. Restricting access to the Webmin interface and to ldap-useradmin/raw.cgi to a small set of trusted administrators and networks limits who can be induced to render a poisoned entry, though it does not fix the underlying missing escaping and depends on the attacker not already controlling an administrator account. Cleaning existing directory entries of injected markup is advisable after patching since stored payloads survive the upgrade.
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 Perl CGI front end that reads and writes directory entries over LDAP. raw.cgi renders an entry's attributes and DN directly into the page; the pre-fix source passed the DN into ui_print_header and emitted attribute names and values into an HTML table without any escaping, and it also omitted an edit-authorization check on the entry being displayed. The flaw is CWE-79 (improper neutralization of input during web page generation), and because the payload is stored in directory data rather than reflected in a request, it persists until the attribute is cleaned. The published commit f6137ff68fa239928844199b719ef25b153eb664 wraps the DN, attribute names and values in html_escape and adds can_edit_user/can_edit_group authorization checks plus handling for a missing entry. The trigger for script execution is simply an administrator viewing the raw entry; the supplied sources do not describe any further mechanism. The assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N reflects network reachability with low privileges, required victim interaction, and scope change into the administrator's session - this is not exploitable by an unauthenticated attacker against a default installation, and it requires an LDAP-backed deployment.
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 LDAP write access (PR:L) and admin must view the entry (UI:R); stored script runs in the admin's context (S:C) with limited C:L/I:L 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/raw.cgi that allows attackers with LDAP attribute write access to inject markup. Attackers can store script in user or group attributes or the dn, which executes in an administrator's browser when viewing the raw 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 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-134935
GHSA-59c9-7jf7-77fc
NVD
CVE.org
EPSS
Exploit-DB