Cloud Mail before 3.6.0 contains a stored cross-site scripting vulnerability in attService.addAtt that allows unauthenticated attackers to store inline attachments with sender-supplied MIME types. Attackers can email SVG or HTML attachments, compute the content-hash URL under /oss/ or /attachments/, and steal session JWTs from localStorage to hijack accounts including administrators.
https://github.com/maillab/cloud-mail/releases/tag/v3.6.0
https://github.com/maillab/cloud-mail/issues/655
https://github.com/maillab/cloud-mail/commit/53584f865c3b8aff89f922fad9d41d23b330d6b2
https://github.com/maillab/cloud-mail/blob/v3.5.0/mail-worker/src/service/att-service.js#L20-L29