Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEmail victim an encrypted message with HTML part
-
DeliveryVictim decrypts message in hMailServer webmail
-
ExploitUser opens attachment in new browser tab
-
ExecutionScript runs in webmail origin
-
ImpactRead mailbox, send mail, alter account via REST API
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 ALL of the following: (1) the hMailServer REST API must be enabled so the webmail is served at all - the description explicitly states this is not enabled by default; (2) the installation must be hMailServer 6.3.2 through 6.3.5, with S/MIME-based attacks possible from 6.3.2 and OpenPGP-based attacks from 6.3.4; (3) the attacker must be able to send the target user an encrypted (S/MIME or OpenPGP) message whose part is declared as media type text/html; and (4) the victim must decrypt that message in the browser and specifically open the decrypted attachment in a new tab - merely clicking to save the file does NOT trigger code execution. These factors (non-default webmail, required encrypted-message delivery, and the exact new-tab user action) are the key limiters that reduce realistic exploitability well below the raw CVSS score. |
| Impact | The input CVSS of 8.0 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N) looks high, but the real-world risk is materially lower than the headline number suggests because several independent signals are weak or absent. On the amplifying side: the vector is network-reachable (AV:N) with no attacker privileges (PR:N), scope is changed (S:C), and both confidentiality and integrity impacts are High (the injected script can read the mailbox, send mail, and modify the account through the REST API). On the dampening side: attack complexity is High (AC:H) and user interaction is required (UI:R) - the victim must not merely click to save the attachment but specifically open a text/html part in a new browser tab, and the webmail interface itself is served only when the REST API is enabled, which the description states is NOT the default. No EPSS score was provided, there is no CISA KEV listing, and no public proof-of-concept is referenced, so no public exploit is identified at time of analysis. The combination of a non-default prerequisite (REST API enabled), a required ability to send the target an encrypted S/MIME or OpenPGP message, and a specific victim action makes this a conditional, targeted-feasible issue rather than a mass-exploitable one. Treat it as a patch-soon item for the small subset of deployments that actually run the webmail, not an emergency for the general hMailServer population. Note: EPSS, KEV, and POC signals are all MISSING from the input and cannot be confirmed either way. |
| Exploit ScenarioDerived | An attacker sends the victim an encrypted S/MIME or OpenPGP email containing a part declared as text/html. The victim decrypts the message in the hMailServer webmail and, instead of saving the attachment, opens it in a new tab, at which point the HTML renders as a document in the webmail's own origin and its embedded script silently reads the mailbox, sends mail, and alters the account via the REST API. No public exploit code is identified at time of analysis, and the high attack complexity plus required user interaction limit reliability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Cross-site scripting in Progressive Robot hMailServer 6.3.2 through 6.3.5 can let a remote, unauthenticated attacker execute script in the webmail origin with a victim's session if the victim decrypts a crafted S/MIME (from 6.3.2) or OpenPGP (from 6.3.4) message and opens a text/html attachment in a new tab. The webmail is only served when the non-default REST API is enabled, and the attack requires user interaction, so realistic risk is materially lower than the 8.0 CVSS score. No public exploit was identified at time of analysis, and the vendor released v6.3.6 as a fix.
RemediationAI
Vendor-released patch: upgrade to hMailServer v6.3.6, available at https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6. If immediate upgrade is not possible, disable the REST API so the webmail is not served at all, accepting that this removes webmail functionality. Instruct users not to open decrypted S/MIME or OpenPGP attachments in a new tab; saving the attachment instead does not trigger the script execution. Limiting who can send encrypted messages to users, or filtering encrypted messages from untrusted senders, can reduce exposure but is not a complete fix and may block legitimate encrypted mail. Monitor the vendor work item at https://gitlab.com/hmailserver/hmailserver/-/work_items/52 for further updates.
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
This is a CWE-79 cross-site scripting issue in hMailServer's webmail when it decrypts S/MIME or OpenPGP messages in the browser. The affected code offers each decrypted attachment as a blob URL using the media type declared by the message part; if a part is declared as text/html and the user opens it in a new tab, the browser renders it as a document in the webmail's origin. Because the script runs in that origin, it can use the victim's session to read the mailbox, send mail, and change the account through the REST API. The assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N vector indicates remote, unauthenticated delivery with scope change and required user interaction; the high attack complexity and interaction requirement reflect the narrow exploitation path. The webmail is served only when the REST API is enabled, which is not the default configuration, and the CPE cpe:2.3:a:progressive_robot_ltd:hmailserver:*:*:*:*:*:*:*:* covers the affected hMailServer product line.
Know when Hmailserver 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
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Delivered via email over the network with no attacker privileges (PR:N), but AC:H and UI:R because it needs non-default webmail plus the victim opening an HTML attachment in a new tab; script in the webmail origin abusing the REST API makes S:C with C:H/I:H.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
2DescriptionCVE.org
Cross-site scripting in the webmail of Progressive Robot hMailServer 6.3.2 through 6.3.5 allows a remote attacker who can send a user an encrypted message to run script in the webmail's origin with that user's session. When the webmail decrypted an S/MIME message (from 6.3.2) or an OpenPGP message (from 6.3.4) in the browser, it offered each decrypted attachment as a blob URL of the media type the message declared for it. A click saved the file, but if the user opened the attachment in a new tab, a part declared as text/html was rendered as a document of the webmail's origin and its script could read the mailbox, send mail and change the account through the REST API. The webmail is served only when the REST API is enabled, which it is not by default.
Executive ViewAI
Progressive Robot hMailServer versions 6.3.2 through 6.3.5 carry a cross-site scripting flaw in the webmail interface that would let an attacker run script inside a victim's mail session when that user decrypts a crafted S/MIME or OpenPGP message and opens a text/html attachment in a new tab. Real-world exposure is materially narrower than the 8.0 CVSS score implies: the webmail is only served when the non-default REST API is enabled, and the attack depends on deliberate user interaction with an encrypted message attachment. Leadership should still care because the affected component sits directly in the email path, no public exploit has been identified at time of analysis, and the vendor has published v6.3.6 as the fix, making remediation a straightforward version upgrade plus a configuration review.
Apply vendor patch (upgrade to v6.3.6). If the upgrade cannot be completed immediately, disable the non-default REST API that serves the webmail interface, or restrict it to trusted networks, and instruct users not to open text/html attachments from decrypted S/MIME or OpenPGP messages in a new tab.
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.
More in Hmailserver
View allArbitrary JScript execution in Progressive Robot Ltd's hMailServer 6.0.0 through 6.3.3 on Windows lets an unauthenticate
SQL injection in the database layer of hMailServer 6.0.0-B1 through 6.2.18 allows a remote attacker to alter the SQL sta
Cross-tenant configuration takeover in hMailServer 6.0.0 through 6.3.6 lets an authenticated user holding only a domain-
Local privilege escalation in Progressive Robot hMailServer 6.2.3 through 6.3.7 on Windows allows an authenticated local
Local privilege escalation in the Windows installer of Progressive Robot hMailServer 6.0.0 through 6.3.7 lets a local au
Incorrect authorization in the COM administration API of hMailServer 6.3.4 through 6.3.6 lets a credential holding the s
Local privilege escalation in Progressive Robot hMailServer 6.0.0 through 6.3.6 allows any authenticated, non-administra
Incorrect default permissions in the Windows installer for Progressive Robot hMailServer 6.0.0 through 6.3.5 let any loc
Heap-based buffer overflow in hMailServer 6.0.0 through 6.3.3 on Windows lets a local interactive user - with no hMailSe
Local privilege escalation in hMailServer 6.0.0 through 6.3.5 on Windows allows an authenticated local user-one with an
Local privilege escalation in Progressive Robot hMailServer 6.3.4 and 6.3.5 on Linux allows an attacker who already has
Crafted JSON member names drive quadratic parsing time in hMailServer 6.3.6 and 6.3.7, allowing remote attackers to pin
EUVD-2026-94836
GHSA-xr9h-mj6v-hm4m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB