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

Published Oct 8, 2026
·
Updated

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 Software

1 affected component
Progressive Robot hMailServer>=6.3.2<=6.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Progressive Robot hMailServer to a version that resolves this vulnerability.

    Fixed in 6.3.6
  2. Configuration

    Keep the REST API disabled by setting RestApiPort to 0.

    hMailServer webmail REST API RestApiPort = 0
  3. Compensating control

    Tell webmail users not to open decrypted attachments in a new tab.

Event History

Oct 8, 2026
CVE Published
via MITRE·10:53 AM
Data Sourced
via MITRE·10:53 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments running hMailServer 6.3.2 through 6.3.5 with the REST API enabled are exposed through webmail. The REST API, and therefore webmail, is not enabled by default.

2

What must an attacker and victim do for exploitation to succeed?

An attacker must be able to send the victim an encrypted S/MIME message in versions from 6.3.2, or an encrypted OpenPGP message in versions from 6.3.4, containing an attachment declared as text/html. The victim must decrypt the message in webmail and open that attachment in a new tab.

3

What could successful exploitation allow?

Script rendered from the attachment runs under the webmail origin using the victim's session. It can read the mailbox, send mail, and change the account through the REST API.

4

What is the available remediation?

The affected range ends at 6.3.5, and a v6.3.6 release is referenced. If updating cannot happen immediately, disabling the REST API removes the webmail exposure described here.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203