Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEmail HTML attachment containing script
-
DeliveryLure authenticated victim to detach.cgi?type=text/html
-
ExploitExplicit type param bypasses filter_javascript
-
ExecutionBrowser renders attachment bytes as HTML
-
ImpactScript executes in victim's Usermin 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: (1) the target running Usermin's mailbox/webmail module at or below 2.570; (2) a victim with an active, authenticated Usermin session; (3) attacker ability to deliver an HTML attachment by email to that victim; and (4) the victim being socially engineered to open a mailbox/detach.cgi link with the 'type' parameter set to text/html referencing that attachment. The specific trigger is that supplying an arbitrary explicit 'type' parameter routed the request through a code path that printed the attachment data without calling filter_javascript/safe_urls, so attacker HTML/script is served inline unsanitized. Limiting factors that reduce realistic risk: mandatory active user interaction (UI:A - the victim must follow the crafted link), the requirement that the victim already be authenticated to Usermin, and the dependency on the webmail/mailbox feature being in use. |
| Impact | This is a medium-severity stored/reflected XSS (CVSS 4.0 base 5.1 as supplied; my independent CVSS 3.1 assessment is 6.1). The attacker needs no privileges (PR:N) and the attack is network-reachable with low complexity (AV:N/AC:L), but exploitation is gated by required active user interaction (UI:A) - a logged-in victim must be lured to a crafted detach.cgi link - which meaningfully lowers real-world risk versus a no-interaction flaw. Impact is confined to the victim's authenticated Usermin session (subsequent-system SC:L/SI:L; no direct server confidentiality/integrity/availability impact per VC:N/VI:N/VA:N). KEV status is NOT present, so there is no evidence of active exploitation. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be weighed - this is a data gap. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a patch-this-cycle priority rather than an incident-grade emergency. Bottom line: a legitimate, patch-worthy issue requiring social engineering, not a high-urgency mass-exploitation threat; absence of EPSS and KEV signals, combined with the interaction requirement, points to limited/targeted rather than widespread risk. |
| Exploit ScenarioDerived | An attacker emails a Usermin webmail user an HTML attachment containing JavaScript, then lures that authenticated victim to open a mailbox/detach.cgi link with type=text/html pointing at the attachment. Because supplying an explicit 'type' parameter bypassed the server's filter_javascript sanitization (the old code printed the attachment bytes raw under the attacker-chosen Content-Type), the script runs in the victim's authenticated Usermin session, enabling session actions or data theft within the webmail interface. A public technical writeup exists on HackMD and a VulnCheck advisory is referenced; no verified working exploit code is confirmed in the provided input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Cross-site scripting in Usermin through 2.570 allows remote attackers to execute script in a victim's authenticated webmail session by emailing an HTML attachment and luring the recipient to a mailbox/detach.cgi link with type=text/html. The flaw is CWE-79 in detach.cgi's explicit MIME type handling, which can bypass the JavaScript filtering and serve attacker-controlled HTML inline; exploitation requires the victim to follow the crafted link while logged in. The supplied CVSS 4.0 base score is 5.1 (independent CVSS 3.1 assessment: 6.1), and no CISA KEV listing or confirmed public exploit code is indicated, with no public exploit identified at time of analysis.
RemediationAI
Patch status is patch available per vendor advisory; the supplied source fix is commit c5c43b9ad04a60809ac2eb271bf8f3d0fec2e46a (https://github.com/webmin/usermin/commit/c5c43b9ad04a60809ac2eb271bf8f3d0fec2e46a), and the vendor issue is https://github.com/webmin/usermin/issues/142. Upgrade Usermin to a vendor-released build containing that fix; a released patched version number is not independently confirmed in the supplied data, so verify the fixed release with the vendor before relying on a version string. If an immediate upgrade is not possible, the supplied data does not document a complete workaround; reducing exposure to the Usermin mailbox/webmail detach.cgi feature and warning users not to follow unsolicited detach.cgi links lowers risk but does not remediate the XSS. The supplied vuln.today decision label is this_month, consistent with scheduled rather than emergency remediation; no CISA KEV listing is indicated.
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
Usermin is the webmail/user-facing component in the Webmin family, and mailbox/detach.cgi handles MIME attachment detach/preview requests. In affected versions through 2.570, the code printed the user-supplied type parameter directly as the response Content-type and, when an explicit type was present, emitted the attachment body without calling safe_urls/filter_javascript; setting type=text/html therefore caused attacker HTML/script in an email attachment to render in the Usermin origin. CWE-79 (improper neutralization of input during web page generation) describes the XSS class. The supplied fix commit c5c43b9ad04a60809ac2eb271bf8f3d0fec2e46a normalizes MIME types, forces downloads to application/octet-stream, serves XML/SVG and other text as text/plain, adds X-Content-Type-Options: nosniff, and for HTML previews adds a CSP sandbox with script-src, object-src, frame-src, base-uri and form-action set to 'none' while retaining the existing filters. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:A with low subsequent confidentiality/integrity impact; the independent CVSS 3.1 assessment is AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The trigger described in the evidence is the explicit type parameter path, not unspecified other detach.cgi behavior.
Know when Usermin 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:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Attacker needs no privileges (PR:N) but the victim must open a crafted link while authenticated (UI:R); script escaping into the victim's session changes scope (S:C) with limited confidentiality/integrity impact and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Usermin through 2.570 contains a cross-site scripting vulnerability in mailbox/detach.cgi that allows remote attackers to execute script by supplying an arbitrary type parameter that bypasses JavaScript filtering. Attackers can email an HTML attachment containing script and lure recipients to a detach.cgi link with type=text/html to run script in the victim's authenticated Usermin session.
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.
Usermin 0.980 through 1.x before 1.660 allows uconfig_save.cgi sig_file_free remote code execution because it uses the t
Usermin through 1.850 allows a remote authenticated user to execute OS commands via command injection in a filename for
A Stored Cross-Site Scripting (XSS) vulnerability in the SSH configuration tab in Usermin 2.001 allows remote attackers
A discrepancy in error messages for invalid login attempts in Webmin Usermin v2.100 allows attackers to enumerate valid
Path traversal in Usermin through 2.570 allows remote unauthenticated attackers to write files outside the temporary dir
OS command injection in Usermin through 2.570 allows any authenticated, low-privilege mailbox user to execute arbitrary
Usermin before 1.600 allows remote attackers to execute arbitrary operating-system commands via unspecified vectors rela
Multiple cross-site scripting (XSS) vulnerabilities in (1) filter/save_forward.cgi, (2) filter/save.cgi, (3) /man/search
Cross-site scripting vulnerability exists in session_login.cgi of Webmin versions prior to 1.970 and Usermin versions pr
A Reflected Cross-site scripting (XSS) vulnerability in the file manager tab in Usermin 2.000 allows remote attackers to
The Read Mail module in Webmin 1.995 and Usermin through 1.850 allows XSS via a crafted HTML e-mail message. Rated mediu
Multiple stored cross-site scripting (XSS) vulnerabilities in Usermin 2.000 allow remote attackers to inject arbitrary w
EUVD-2026-118298
GHSA-pqrp-xhqp-wc9w
NVD
CVE.org
EPSS
Exploit-DB