CVE Catalog

CVE-2026-103647

HighCVSS 8.0
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can execute arbitrary script in the context of the webmail user's session, leading to data theft, sending mail on behalf of the user, and account modification. The risk is high if the REST API is enabled.

Recommendation

Update hMailServer to a version newer than 6.3.5 that improves attachment handling in webmail. It is also recommended to disable the REST API if not used and educate users about opening attachments.

Other vulnerabilities in hMailServer

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS