Skip to main content

Webmin EUVDEUVD-2026-134932

| CVE-2026-134328 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-25 VulnCheck GHSA-v36m-7x67-pmrq
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft HTML attachment with obfuscated script
  2. Delivery
    Email it to Webmin user
  3. Exploit
    Victim opens attachment in detach.cgi
  4. Execution
    Sanitizer bypass renders script from Webmin origin
  5. Impact
    Script 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

Requires a Webmin deployment where operators read mail through the mailboxes module and open attachments via the detach.cgi attachment viewer. The attacker needs no authentication and only the ability to send an HTML attachment (entity-obfuscated javascript: scheme, or encoded script tags within an iframe srcdoc) to a mailbox the victim views in Webmin. The decisive limiting factor is required user interaction (UI:P): an authenticated Webmin user must open the malicious attachment for the script to execute in their session - the flaw cannot be triggered server-side without that action. Affected: all versions through 2.670; installations not using Webmin's webmail/mailbox reading feature are not exposed.

Impact

This is a stored XSS (CWE-79) in Webmin's mailbox attachment viewer (mailboxes/detach.cgi) with a vendor-supplied CVSS 4.0 of 5.3 (Medium). The attack vector is network with low complexity and no attacker privileges (AV:N/AC:L/PR:N) - any unauthenticated party who can email the victim can plant the payload - but exploitation is gated by passive user interaction (UI:P): an authenticated Webmin operator must actually open the malicious HTML attachment in the viewer. Impacts are bounded to low confidentiality/integrity on both the vulnerable system and the subsequent (browser/session) system (VC:L/VI:L/SC:L/SI:L, VA:N/SA:N), consistent with script running inside the victim's Webmin session rather than direct server code execution. No KEV listing is present (not confirmed actively exploited) and no EPSS score was provided, so widespread opportunistic exploitation cannot be asserted; the vuln.today decision label is 'this_month,' indicating a prioritize-but-not-emergency posture. Net: a credible, patch-this-cycle Medium issue whose real-world risk is tempered by the requirement that a privileged user open attacker-supplied mail through Webmin's webmail feature - not a drop-everything critical, but materially more than a theoretical finding because the sanitizer bypass is attacker-triggerable without credentials.

Exploit ScenarioDerived

An unauthenticated attacker emails a Webmin user an HTML attachment containing entity-obfuscated 'javascript:' schemes or encoded script tags inside an iframe srcdoc that evade Webmin's HTML sanitizer. When the Webmin operator opens the attachment in the detach.cgi viewer, the markup renders from the Webmin origin and executes script in their authenticated session. A public PoC reference exists (VulnCheck advisory and a Zenodo DOI), but it is not verified as working exploit code; exploitation still depends on the victim opening the attachment (UI:P).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Stored cross-site scripting in Webmin's mailbox attachment viewer (mailboxes/detach.cgi) in versions through 2.670 allows an unauthenticated mail sender to plant HTML that executes script inside a Webmin user's session when that user opens the attachment. Delivery requires only the ability to send an email with a crafted HTML/SVG attachment; exploitation requires the victim to open it in Webmin's mailboxes module (user interaction, UI:P), so the flaw cannot be triggered server-side. Impact is bounded to the victim's Webmin session (scope-changed, low confidentiality/integrity impact, vendor CVSS 4.0 score 5.3 Medium); no KEV entry or public exploit code was referenced in the available intelligence, and installations that do not read mail through Webmin's mailboxes module are not exposed.

RemediationAI

Apply the upstream fix commit https://github.com/webmin/webmin/commit/344104046116978770cd0edea11405590a14ee08 (referenced as the vendor patch) and upgrade Webmin to a release that incorporates it; the available data does not name a tagged release version containing the commit, so confirm against the Webmin release notes before assuming a given version is patched. If upgrading immediately is not possible, the commit's own mitigations can be applied locally to mailboxes/detach.cgi as compensating controls: emit X-Content-Type-Options: nosniff on attachment responses, serve unknown or text/* attachments (including XML, SVG, message/delivery-status and the caller-supplied 'type' override) as text/plain or as Content-Disposition attachment downloads with application/octet-stream, and add Content-Security-Policy: sandbox; script-src 'none'; object-src 'none'; frame-src 'none'; base-uri 'none'; form-action 'none' when a text/html preview must be returned; the trade-off is that HTML, SVG and XML attachments no longer preview inline and must be downloaded and opened outside the browser. Operational hardening that reduces exposure without patching: restrict which Webmin users may access the mailboxes module through Webmin ACLs, and treat untrusted inbound HTML/SVG attachments as unsafe to open in the viewer until the fix is applied - the trade-off is loss of convenient in-panel attachment preview for those users. Review the VulnCheck advisory (https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-mailboxes-detach-cgi-attachment-viewer) and GitHub issue 2941 for vendor follow-up; priority per vuln.today decision signal is this_month, so schedule the upgrade in the current monthly patch cycle.

Affected VersionsENISA

Webmin 0 ≤2.670

Affected Packages

euvd webmin no fix

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 Perl/CGI-based web administration panel; the mailboxes module reads user mail over IMAP/POP3 and serves MIME attachment parts back to the browser through detach.cgi. The root cause is CWE-79: the attachment response path reflected attacker-controlled MIME content (and, with the 'type' parameter, an attacker-influenced Content-Type) back to the Webmin origin without adequate neutralization. The referenced sanitizer code in web-lib-funcs.pl (line 10547) does not catch entity-obfuscated javascript: schemes or encoded script tags placed inside an iframe srcdoc attribute, and SVG attachments were previously served inline from the Webmin origin where they can execute script. Because the script runs on the Webmin origin rather than a sandboxed origin, it inherits the victim's authenticated session context. The upstream commit 344104046116978770cd0edea11405590a14ee08 reworks the response handling rather than only the filter: it adds X-Content-Type-Options: nosniff, forces a Content-Disposition attachment for downloads using application/octet-stream, downgrades XML/SVG, message/delivery-status and other text/* types to inert text/plain, and serves text/html with a Content-Security-Policy of sandbox; script-src 'none' (plus object-src, frame-src, base-uri and form-action 'none'), while only a fixed allowlist of raster image types may be rendered inline. The same commit adds regression fixtures, including a browser-driven test harness that reproduces XML, type-override and UTF-16 HTML attacks.

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Unauthenticated attacker sends the payload (PR:N) but the victim must open the attachment (UI:R); script runs in the victim's Webmin session across a trust boundary (S:C) with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

Webmin through 2.670 contains a stored cross-site scripting vulnerability in mailboxes/detach.cgi that allows unauthenticated mail senders to bypass the HTML sanitizer. Attackers can send HTML attachments with entity-obfuscated javascript: schemes or encoded script tags in iframe srcdoc to execute script in the Webmin session of users opening them.

Threat Intelligence Overview

EPSS Score
0.4%
Top 76% exploitable
Prevalence
Medium
popular web-based Linux sysadmin panel, common but not on every host
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Webmin

View all
CVE-2019-15107 CRITICAL POC
9.8 Aug 16

An issue was discovered in Webmin <=1.920. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2012-2982 MEDIUM POC
6.5 Sep 11

file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid

CVE-2012-2983 MEDIUM POC
5.0 Sep 11

file/edit_html.cgi in Webmin 1.590 and earlier does not perform an authorization check before showing a file's unedited

CVE-2022-36446 CRITICAL POC
9.8 Jul 25

software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command. Rated critical severity (CVSS 9.8), thi

CVE-2022-0824 HIGH POC
8.8 Mar 02

Improper Access Control to Remote Code Execution in GitHub repository webmin/webmin prior to 1.990. Rated high severity

CVE-2019-12840 HIGH POC
8.8 Jun 15

In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root pr

CVE-2017-15644 HIGH POC
8.6 Oct 19

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

CVE-2019-9624 HIGH POC
7.8 Mar 07

Webmin 1.900 allows remote attackers to execute arbitrary code by leveraging the "Java file manager" and "Upload and Dow

CVE-2015-2079 CRITICAL POC
9.9 Apr 28

Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t

CVE-2021-31761 CRITICAL POC
9.6 Apr 25

Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's ru

CVE-2017-15645 HIGH POC
8.8 Oct 19

CSRF exists in Webmin 1.850. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authenticati

CVE-2022-35132 HIGH POC
8.8 Oct 25

Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy