Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Webmin as low-privileged user
-
DeliveryPlant crafted SVG attachment in mail queue
-
ExploitAdministrator opens attachment in detach CGI
-
ExecutionSVG script bypasses filter_javascript, executes in admin session
-
ImpactPerform actions as Webmin administrator
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) a Webmin account authenticated at low privilege (PR:L) able to place a message carrying an SVG - or text/html or application/xhtml+xml - attachment into a mail queue handled by the Postfix, Sendmail, or Qmail modules, and (2) an administrator actively opening that attachment via the detach-queue CGI (detach_queue.cgi / qdetach.cgi), which previously rendered the attachment inline under only filter_javascript() sanitization that an SVG payload evades. Limiting factors: it is not remote-unauthenticated (an account is needed), it depends on administrator interaction (UI:P) rather than passive triggering, and it is scoped to the mail-queue management modules; the complete fix is updating to the fixed commit, which serves these attachment types as non-rendered/text-plain content. |
| Impact | This is a moderate-severity stored cross-site scripting issue (vendor CVSS 4.0 base 6.4) whose real-world urgency is tempered by two attacker-unfriendly prerequisites visible in the CVSS 4.0 vector: PR:L means a legitimate authenticated Webmin account is required to plant the payload, and UI:P means an administrator must actively open the malicious attachment for the script to fire - it is not fire-and-forget remote code execution. No EPSS score and no KEV entry were supplied, and the only references are the two fix commits (no proof-of-concept or exploit reference), so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with the absence of active-exploitation signals. The counterweight that keeps this from being purely academic: Webmin normally runs with root privileges, so script executing inside an administrator's Webmin session can translate into full host control - the vendor's SC:H/SI:H/SA:H subsequent-system rating reflects that escalation potential, which I consider somewhat aggressive but directionally defensible. Net: a genuine fix-this-month item, not a drop-everything emergency, driven by the authentication-plus-interaction gating rather than by any disputed severity number. |
| Exploit ScenarioDerived | A low-privileged but authenticated Webmin user crafts an email containing an SVG (or HTML/XHTML) attachment with embedded script and gets it into a monitored mail queue (Postfix, Sendmail, or Qmail module). When an administrator opens that attachment through the mail-queue detach CGI, the old code served it inline relying only on filter_javascript(), which an SVG payload bypasses, so the script runs in the admin's authenticated Webmin session. No public PoC or exploit reference is present in the supplied data, so this is a plausible but not demonstrated chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
Stored cross-site scripting in Webmin through 2.670 allows an authenticated low-privilege account to plant an SVG (or text/html or application/xhtml+xml) attachment in a mail queue that an administrator later opens through the queue-detach CGI, at which point attacker-supplied script executes in the administrator's session. The flaw spans the Postfix, Sendmail and Qmail mail-queue management modules (postfix/detach_queue.cgi, qmailadmin/detach_queue.cgi, sendmail/qdetach.cgi) and is rated 6.4 under CVSS 4.0; the assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting a scope change but limited confidentiality and integrity impact. Exploitation needs both a legitimate Webmin account and an administrator actively opening the crafted attachment, so it is not unauthenticated or passive; no public exploit code has been identified and the issue is not in CISA KEV, with vendor patch commits published.
RemediationAI
The complete fix is to update Webmin past 2.670 to a build containing upstream commits ae8feb18541567042f4ef3a09d6ef988afd9f82c and dda9b972b9c0d524e784e1229d4c30730b188447 (https://github.com/webmin/webmin/commit/ae8feb18541567042f4ef3a09d6ef988afd9f82c and https://github.com/webmin/webmin/commit/dda9b972b9c0d524e784e1229d4c30730b188447); the fix changes the queue-detach CGI handlers so text/html, image/svg(+xml), application/xhtml+xml and message/delivery-status attachments are no longer rendered inline and the Qmail handler serves them as text/plain. Because vendor patch availability is confirmed but no specific tagged release version is given in the available data, confirm the deployed files match the patched revisions. Where updating cannot be performed immediately, the same effect can be approximated by limiting who can submit mail into queues managed by Webmin and by restricting access to the queue-detach CGIs (postfix/detach_queue.cgi, qmailadmin/detach_queue.cgi, sendmail/qdetach.cgi) to administrators who will not open untrusted attachments - at the cost of removing legitimate inspection of HTML/SVG mail attachments - and by disabling the Sendmail, Qmail or Postfix queue modules in Webmin if they are not operationally required. Priority is this-month rather than emergency: no KEV listing or public exploit code is present in the available data.
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
The root cause is CWE-79 improper neutralization of input during web page generation, applied to mail-queue attachment rendering. Webmin's queue-detach CGIs read a queued mail file, extract the attachment, and emit it to the browser with the attachment's own Content-Type. Prior to the fix, MIME types matching text/html, image/svg, or application/xhtml were passed through a filter_javascript() sanitization routine before being printed, and everything else was printed raw. That blocklist-style JavaScript filter does not reliably contain SVG-embedded script or other active content carried under image/svg+xml or application/xhtml+xml, so an attacker-supplied attachment rendered inline executed in the Webmin origin with the viewing administrator's privileges - the scope-change component of the vector (S:C) follows from executing in the admin context while the payload is planted by a lower-privileged account. The upstream fix (commit ae8feb18541567042f4ef3a09d6ef988afd9f82c, with related commit dda9b972b9c0d524e784e1229d4c30730b188447) stops rendering these types inline: in postfix/detach_queue.cgi and sendmail/qdetach.cgi it groups message/delivery-status with text/html, image/svg(+xml) and application/xhtml+xml and prints the raw data instead of passing it through filter_javascript(), while qmailadmin/detach_queue.cgi now forces Content-type: text/plain for those same types. In other words the remediation converts the active-content attachment types to non-rendered output rather than trying to sanitize them. CPE cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:* confirms the affected component is Webmin itself, across all versions through 2.670.
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:H/SI:H/SA:H
A low-privileged authenticated user plants the payload (PR:L) and an administrator must view it (UI:R), executing script cross-scope in the admin session (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Webmin through 2.670 before ae8feb1 allows XSS via an SVG attachment in a mail queue, relevant if an authenticated user uploads an SVG document and an administrator views it.
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 and Command Injection
View all 2An 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-136989
GHSA-gcvm-qr66-wm43
NVD
CVE.org
EPSS
Exploit-DB