Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account or directory write access
-
DeliveryInject markup into GECOS/user/group name via chfn or LDAP/NIS/SSSD
-
ExploitWebmin admin opens affected chooser popup
-
ExecutionUnescaped value renders in admin browser
-
ImpactScript executes in authenticated 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 two conditions to both hold: (1) the attacker must be able to write attacker-controlled markup into a user name, group name, or GECOS field - either as a local user running chfn, or as a 'directory writer' able to modify LDAP, NIS, or SSSD entries that Webmin consumes; and (2) a Webmin user must then open one of the affected chooser popups (my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi, or group_chooser.cgi), which pass the values unescaped. Limiting factors: the attacker cannot act fully anonymously (PR:L - some local or directory-write privilege is needed), success depends on an operator viewing the popup (UI:P/required), and it is bounded to Webmin instances at or below version 2.670 that read these name/GECOS sources. |
| Impact | This is a stored XSS (CWE-79) in Webmin through 2.670 that rates as a moderate, not urgent, priority. The supplied 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, base 5.1) is internally consistent with the description: PR:L reflects that an attacker must already be a local user or a 'directory writer' able to set a GECOS field (via chfn) or modify LDAP/NIS/SSSD entries, and UI:P reflects that a Webmin operator must then open an affected chooser popup for the payload to fire. No EPSS score, KEV entry, or SSVC exploitation decision was supplied; the vuln.today priority label is 'this_month' (not act_now/emergency), which aligns with a privilege- and interaction-gated low-impact flaw rather than a mass-exploitable one. No KEV listing means this is not confirmed as actively exploited, and no input field marks a working PoC. The limited impacts (VC:L/VI:L, availability none) and the dual precondition - attacker-controlled directory data plus an authenticated admin viewing the right page - keep real-world risk well below what a raw 'network' attack vector alone would suggest. EPSS and KEV data are missing from the input and should be checked directly before final prioritization. |
| Exploit ScenarioDerived | A local user (or an account with write access to the user/group directory such as LDAP, NIS, or SSSD) sets a malicious GECOS, user name, or group name containing HTML/script markup, for example via chfn. When a Webmin administrator later opens one of the chooser popups (my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi, or group_chooser.cgi), the unescaped value renders and the script executes in the admin's authenticated browser session. No working public exploit is identified in the provided data, though a VulnCheck advisory and an upstream GitHub issue document the flaw. |
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 allows local users or directory writers to inject markup into user names, group names, or GECOS fields, which is then rendered unescaped in the my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi, and group_chooser.cgi popups. The assessed vector requires low privileges (PR:L) and user interaction (UI:R), so an attacker must already be able to write to a name or GECOS source and a Webmin user must open an affected chooser. No public exploit identified at time of analysis, and the issue is rated a moderate, this-month priority rather than an emergency.
RemediationAI
No vendor-released patch is identified in the available data; track the Webmin GitHub issue 2941, the Webmin repository, and the VulnCheck advisory for the exact fixed release before upgrading beyond 2.670. Until a patched version is confirmed, reduce exposure by restricting who can set GECOS via chfn and who can modify the LDAP, NIS, or SSSD entries that Webmin reads - this limits the first precondition but does not fix the missing output encoding. As a compensating control, limit access to the four chooser CGI endpoints (my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi, group_chooser.cgi) to trusted Webmin administrators, or disable the chooser popups if the deployment can operate without them; doing so may break user and group selection workflows. Review the referenced source lines and issue for any vendor-provided patch or workaround.
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 user and group administration interface includes chooser popups implemented by my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi, and group_chooser.cgi. These scripts read account metadata - user names, group names, and GECOS fields - from local accounts or from LDAP, NIS, or SSSD directories and emit it into HTML without context-appropriate output encoding. Because the same values can be set by a local user through chfn or by a directory writer who controls LDAP, NIS, or SSSD entries, attacker-controlled markup can be stored in the account data and later executed in the browser of a Webmin user who opens the chooser. The root cause is CWE-79 (improper neutralization of input during web page generation); the referenced source lines at Webmin 2.670 show where the values are passed through. CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* identifies Webmin as the affected product, with the description scoping affected releases to 2.670 and earlier.
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 local/directory-write privilege (PR:L) and a viewing admin (UI:R); payload crosses from attacker data into the admin's browser session (S:C) with limited confidentiality/integrity 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 that allows local users or directory writers to inject script by placing markup in user names, group names or GECOS fields. Attackers can set GECOS via chfn or modify LDAP, NIS or SSSD entries so unescaped values in my_user_chooser.cgi, my_group_chooser.cgi, user_chooser.cgi and group_chooser.cgi execute in a Webmin user's browser.
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-134914
GHSA-4g24-j3q9-9mxx
NVD
CVE.org
EPSS
Exploit-DB