Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-privilege local OS account
-
DeliveryCreate file with script-laden name in wildcard-rotated log dir
-
ExploitAdmin clicks Force Log Rotation
-
ExecutionUnescaped diagnostic output runs script in Webmin session
-
ImpactActions executed in admin's authenticated context
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 | Requires a local OS user account (AV:L, PR:L) with write access to a log directory that Webmin's logrotate module is configured to rotate using a wildcard pattern - the attacker places a file whose name embeds the script payload. Exploitation further requires an administrator to actively open the logrotate module and click 'Force Log Rotation' (UI:P) so that logrotate -f diagnostic output containing the attacker-controlled filename is rendered. Affected scope is Webmin through 2.670. Limiting factors that reduce realistic risk: local access and existing authentication are both needed, the wildcard-rotated log directory is a configuration-dependent (non-default-for-every-install) setup, administrator interaction is mandatory to trigger the payload, and impact is confined to the Webmin session rather than direct privilege escalation. |
| Impact | This is a genuinely low-priority issue, and the signals agree rather than conflict. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:L/UI:P) describes a locally-triggered, high-complexity, attack-requirement-gated flaw needing an already-authenticated low-privilege local OS user plus active interaction from an administrator, and the vendor/aggregator Decision label is 'monitor' - the weakest urgency tier. The real-world chain is entirely within one host: a local user plants a maliciously-named file, then must wait for a Webmin admin to click Force Log Rotation for the stored script to fire. There is no KEV listing and no EPSS score supplied, and no confirmed public exploit code is referenced, so there is no evidence of active exploitation or weaponization. Note the inputs do not provide an EPSS probability or a CISA KEV status at all, so those probabilistic/exploitation signals are simply absent rather than low - do not read their absence as a confirmed 'not exploited' finding. The impact ceiling is limited (VC:L/VI:L), consistent with stored XSS running in the Webmin session rather than direct root code execution. Bottom line: a high-CVSS-but-low-real-risk profile does not even apply here - the CVSS itself is low, and all available signals point to a low-severity, hard-to-trigger, local, privilege-and-interaction-dependent defect. |
| Exploit ScenarioDerived | A low-privileged local OS user on a server running Webmin creates a log file whose filename contains an HTML/script payload inside a directory that Webmin's logrotate module rotates via a wildcard pattern. When an administrator later opens the logrotate module and clicks 'Force Log Rotation', the logrotate -f diagnostic output - including the attacker-controlled filename - is rendered without HTML escaping, executing the script in the admin's authenticated Webmin session. No confirmed public exploit code is referenced; exploitation depends on the attacker already holding a local account and on the admin performing the force-rotation action. |
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 a local OS user with write access to a wildcard-rotated log directory to embed a script payload in a filename, which is later rendered when an administrator opens the logrotate module and clicks Force Log Rotation. The payload runs in the administrator's Webmin session rather than yielding OS-level privilege escalation, and exploitation requires local access, a specific wildcard logrotate configuration, and administrator interaction. No CISA KEV entry or public exploit is identified in the supplied data; the vuln.today decision label is monitor and the independent assessment rates this as a genuinely low-priority issue.
RemediationAI
The supplied data does not specify a fixed Webmin release; treat Webmin through 2.670 as affected and track Webmin issue #2941 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-logrotate-force-cgi for a patched version, then upgrade as soon as one is published. Until a fix is available, remove wildcard patterns from logrotate configurations managed through Webmin and list rotated files explicitly so attacker-controlled filenames cannot appear in logrotate -f diagnostics, accepting the maintenance burden of explicit file lists. Restrict write access to wildcard-rotated log directories to trusted OS users, with the trade-off that applications logging under less-trusted accounts may require ownership or group changes. Limit access to the Webmin logrotate module to trusted administrators and avoid using Force Log Rotation on untrusted configurations; this reduces exposure but does not address the missing HTML escaping. If the logrotate module is not needed, disable it, accepting the loss of that administrative capability.
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 web-based Unix system administration interface, and the affected component is its logrotate module at logrotate/force.cgi line 23. The root cause is CWE-79: logrotate -f diagnostic output can include filenames from directories rotated with wildcard patterns, and force.cgi prints that output into an HTML response without escaping. An attacker who can create files in such a directory can therefore persist a script payload in a filename; it executes in the administrator's Webmin session only after the administrator opens the module and triggers Force Log Rotation. The CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* covers Webmin through 2.670. The supplied CVSS 4.0 vector and the independent CVSS 3.1 assessment both reflect local access, high attack complexity, low privileges, user interaction, and limited confidentiality and integrity impact; the 3.1 assessment also marks changed scope, while the impact remains confined to the Webmin session rather than direct privilege escalation.
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:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Local low-priv user plants the payload (AV:L, PR:L); the specific wildcard-rotation config and admin force-rotation click make it AC:H/UI:R; script executes in the admin's web session, so 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 logrotate/force.cgi that prints logrotate -f diagnostic output without HTML escaping. Local OS users can create files with script-laden names in wildcard-rotated log directories, executing script in the Webmin session when Force Log Rotation is clicked.
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-134892
GHSA-pp4c-6f7m-942h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB