Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft attachment filename with script payload
-
DeliveryEmail message to target mail server
-
ExploitMessage held in Postfix/Sendmail queue
-
ExecutionAdmin opens Webmin mail-queue viewer
-
ImpactScript runs 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 actors and specific product features: (1) the target must run Webmin's Postfix (postfix/view_mailq.cgi) or Sendmail (sendmail/view_mailq.cgi) mail-queue management module, and (2) a crafted message with a malicious MIME attachment filename (via Content-Disposition or Content-Type) must be accepted and remain queued on the mail server. The attacker needs no authentication to plant the payload. The limiting factor is user interaction (UI:P): the payload fires only when an authenticated Webmin administrator actually opens the mail-queue viewer page containing the queued message. Deployments that do not use these Webmin mail modules, or that purge/never view the relevant queue, are not exploitable. |
| Impact | This is a stored (persistent) cross-site scripting flaw rated medium severity (CVSS 4.0 base 5.3). The supplied CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N is internally consistent with the description: the injection step is network-reachable and unauthenticated (PR:N - an attacker merely sends an email), but exploitation only completes when an authenticated Webmin operator passively views the mail queue (UI:P), and impact is limited (VC:L/VI:L) with a cross-component effect reflected in SC:L/SI:L. No EPSS probability was supplied, and the CVE is not listed in CISA KEV, so there is no signal of active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real-but-not-urgent issue. The practical risk is moderate and conditional: the attacker cannot act alone - a privileged Webmin admin must open the affected mail-queue viewer - so this is a credential/session-theft vector against administrators rather than a direct server-takeover bug. Prioritize patching, but it does not rise to drop-everything urgency on these signals. Note: no EPSS and no KEV data were provided, so exploitation-likelihood scoring is inferred only from the vector and the SSVC-style decision label. |
| Exploit ScenarioDerived | An unauthenticated attacker emails a message to a server running Postfix or Sendmail with a MIME attachment whose Content-Disposition/Content-Type filename contains an HTML/JavaScript payload. The message sits in the mail queue, and when a Webmin administrator opens the postfix or sendmail mail-queue viewer (view_mailq.cgi), the unsanitized filename renders and the script executes in the admin's authenticated Webmin session. No public working exploit is confirmed in the provided data, though VulnCheck published an advisory and a research artifact (Zenodo DOI) documents the issue. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Webmin through 2.670 stores unsanitized MIME attachment filenames and prints them unescaped in its mail-queue viewers, so a remote sender with no Webmin credentials can plant JavaScript that runs inside a Webmin administrator's browser session once the administrator opens the queued message (CVSS 4.0 base 5.3, CWE-79). The risky modules are postfix/view_mailq.cgi and sendmail/view_mailq.cgi; the same commit also hardens qmailadmin/view_queue.cgi, sendmail/del_mailqs.cgi and sendmail-lib.pl, which handle mail-queue headers, subjects and status strings. Exploitation is persistent but gated on user interaction: the payload must survive in the queue and an authenticated admin must actually view it, so deployments that do not run these mail-queue modules, or that never render the affected queue pages, are not exposed. No public exploit code has been identified at time of analysis.
RemediationAI
Vendor patch status: available from vendor, delivered as upstream commit b8e0462f7b985751d0352665424ef4efa1bf19f2 (https://github.com/webmin/webmin/commit/b8e0462f7b985751d0352665424ef4efa1bf19f2); apply that commit or upgrade to the Webmin release that contains it, since the sources do not name a specific released version number to target. Because the fix spans several scripts, upgrading the whole Webmin package is preferable to hand-patching individual CGI files, which risks leaving the mailq_table() header/subject/status escaping in sendmail/sendmail-lib.pl out of sync. If immediate upgrade is not possible, the practical interim control is to restrict network access to the Webmin listener (and especially the /postfix/ and /sendmail/ mail-queue viewers) to trusted administrative networks via firewall rules or Webmin's own access control lists, accepting that this narrows legitimate admin reachability; deployments that do not need queue management can avoid the exposure entirely by not installing or disabling the Postfix/Sendmail queue modules, at the cost of losing queue visibility through Webmin, and queued messages carrying suspicious attachment names should be purged rather than opened in the viewer until the update is in place. Review references https://github.com/webmin/webmin/issues/2941 and the VulnCheck advisory for any vendor-supplied workaround detail not captured in this data set.
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 mail modules are Perl CGI programs that shell out to the local MTA's queue tooling and then render the parsed results as HTML. The root cause is class CWE-79 (improper neutralization of input during web page generation): attachment filenames taken from Content-Disposition/Content-Type headers - attacker-controlled data originating from an external mail sender - were passed straight to ui_link() and ui_table_row() without html_escape(), and the filename was also interpolated raw into the detach/qdetach link path. Because the message stays queued, the injected markup is re-rendered on every view, making this persistent rather than reflected. The upstream commit b8e0462f7b985751d0352665424ef4efa1bf19f2 wraps header names, attachment names and MIME types in html_escape() and urlize() in postfix/view_mailq.cgi and sendmail/view_mailq.cgi, escapes the queue title in qmailadmin/view_queue.cgi and the file name in sendmail/del_mailqs.cgi, and additionally escapes cc, subject and status fields in sendmail-lib.pl's mailq_table() with an explicit comment that headers and status come from the sender or remote server. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) confirms the attacker side needs no authentication and no special preconditions; the UI:P component captures the fact that the victim administrator must load the viewer page. Note the commit does not touch every rendering path in the cited files beyond what the diff shows, so deployments should verify against the vendor release containing the fix rather than assume the patch is complete for custom templates.
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:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Unauthenticated remote injection (PR:N) but requires an admin to view the queue (UI:R); stored XSS executes in a different security context so S:C, with limited C/I 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 postfix/view_mailq.cgi and sendmail/view_mailq.cgi that allows unauthenticated attackers to inject script via unsanitized MIME attachment filenames. Attackers can send a message with a crafted Content-Disposition or Content-Type filename that remains queued, executing script in the Webmin session of users viewing 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 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-134917
GHSA-vp99-jr4v-v78x
NVD
CVE.org
EPSS
Exploit-DB