# CVE-2026-103647: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hMailServer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.0
- **CVSS:** 8.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 26, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2026-10-08T10:53:05.628Z
- **Modified:** 2026-10-08T21:02:43.860Z

## Who should check

- Anyone running Progressive Robot Ltd hMailServer \>= 6.3.2, \< 6.3.6

## Description

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.

## Affected and fixed versions

- Progressive Robot Ltd hMailServer: \>= 6.3.2, \< 6.3.6 (cvelist)

## Mitigation

- Upgrade hMailServer to 6.3.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-103647. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-103647.md
Affected: Progressive Robot Ltd hMailServer >= 6.3.2, < 6.3.6
Fixed in: Progressive Robot Ltd hMailServer 6.3.6

Steps:
1. Search this machine and project for Progressive Robot Ltd hMailServer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-103647 being exploited?

There is no confirmed exploitation: CVE-2026-103647 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-103647?

High: CVSS 8.0 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-103647?

Progressive Robot Ltd hMailServer \>= 6.3.2, \< 6.3.6.

### Is there a fix for CVE-2026-103647?

Yes. Fixed in Progressive Robot Ltd hMailServer 6.3.6. Upgrade hMailServer to 6.3.6 or later.

### How do I check if I'm affected by CVE-2026-103647?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://gitlab.com/hmailserver/hmailserver/-/work_items/52>
- other: <https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-103647>

HTML: <https://flawdb.com/CVE-2026-103647> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-103647>
