Skip to main content

Cloud Mail EUVDEUVD-2026-131653

| CVE-2026-133873 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-20 VulnCheck GHSA-w2xm-xwgg-j2h7
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Email crafted SVG/HTML inline attachment
  2. Delivery
    Server stores file with sender-supplied MIME type
  3. Exploit
    Attacker computes content-hash URL under /oss/ or /attachments/
  4. Execution
    Victim opens inline-served attachment URL
  5. Persist
    Script runs in app origin, reads localStorage JWT
  6. Impact
    Hijack victim or administrator account

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 the attacker to send an email containing an inline attachment (one with a contentId, i.e. a referenced/embedded part) whose sender-supplied MIME type is a dangerous renderable type - SVG, HTML, XML, or a JavaScript/ECMAScript type (the vendor's isDangerousAttType matches /svg|html|xml|javascript|ecmascript/). Pre-patch, attService.addAtt persisted that attacker MIME type verbatim and served the object inline from the public /oss/ or /attachments/ paths with no X-Content-Type-Options: nosniff and no Content-Security-Policy: sandbox, so the browser renders it as active content in the application origin. The payload then reads the session JWT from localStorage. LIMITING FACTORS: a victim must actively open the predictable content-hash attachment URL in an authenticated browser session (UI:P / UI:R), and account takeover depends on the application storing the session JWT in localStorage; raster image attachments (jpeg/png/gif/webp/etc.) are unaffected as they remain on the safe-inline allowlist. The complete fix is upgrading to 3.6.0 - the patch forces dangerous types to application/octet-stream with an attachment disposition plus nosniff and CSP sandbox.

Impact

This is a stored XSS (CWE-79) rated moderate: the supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC:L/VI:L/VA:N, SC:L/SI:L/SA:N) scores 5.3, reflecting network-reachable, unauthenticated delivery that nonetheless needs passive victim interaction (UI:P) and yields only low confidentiality/integrity impact per the vector. The real-world impact, however, is understated by the numeric score: the description states the payload steals session JWTs from localStorage to hijack accounts including administrators, which is effectively account takeover. No EPSS score is provided in the input, and the vulnerability is NOT listed in CISA KEV, so there is no signal of active exploitation. No SSVC automatable/technical-impact decision values are supplied; the only priority signal is the vuln.today 'this_month' decision label, consistent with a serious-but-not-emergency issue. The exploitation path is well-corroborated by the vendor commit diff (introduction of isDangerousAttType/isSafeInlineAtt, nosniff and CSP sandbox headers), so the mechanism is confirmed by source code rather than inferred. Net: a genuine, patch-worthy account-takeover vector gated by victim interaction and a niche product footprint, not a mass-exploitation emergency.

Exploit ScenarioDerived

An unauthenticated attacker emails the Cloud Mail instance an inline attachment (SVG or HTML) with a sender-controlled MIME type. The server stores it and serves it inline from a predictable content-hash URL under /oss/ or /attachments/ without nosniff or CSP sandboxing; when a victim - potentially an administrator - opens that URL in their authenticated browser session, the embedded script runs in the application origin and exfiltrates the session JWT from localStorage, enabling account hijack. No public exploit was identified at time of analysis, though VulnCheck's advisory and the vendor commit document the mechanism in detail.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Stored cross-site scripting in Cloud Mail before 3.6.0 lets an unauthenticated email sender plant active content that executes in the webmail origin when a recipient opens the attachment, exposing the session JWT held in localStorage and enabling account hijack, including administrator accounts. The flaw is in attService.addAtt, which persists the sender-supplied MIME type for inline (contentId) attachments and serves those objects inline from the public /oss/ and /attachments/ paths without X-Content-Type-Options: nosniff or a CSP sandbox. Assigned CVSS 5.3; exploitation requires the victim to open a predictable content-hash URL while authenticated, no public exploit was identified at time of analysis, and the vendor shipped a fix in 3.6.0.

RemediationAI

Vendor-released patch: upgrade Cloud Mail to 3.6.0 (https://github.com/maillab/cloud-mail/releases/tag/v3.6.0), which contains commit 53584f865c3b8aff89f922fad9d41d23b330d6b2. After upgrading, confirm that mail-worker/src/utils/att-headers.js is present and that objects returned from /oss, /attachments and /static carry Content-Type: application/octet-stream for SVG, HTML, XML and JavaScript types, an attachment Content-Disposition for anything outside the raster allowlist, plus X-Content-Type-Options: nosniff and Content-Security-Policy: sandbox. The available sources document no vendor-supplied interim workaround; the only control visible in the patch is the response-header and MIME rewrite itself, so if the upgrade must be staged, blocking or otherwise removing public access to the /oss and /attachments object routes removes the render path described in the fix but breaks legitimate inline and attachment viewing for users - a trade-off to weigh per deployment. VulnCheck's advisory is at https://www.vulncheck.com/advisories/cloud-mail-before-3.6.0-stored-xss-via-inline-inbound-email-attachments and the upstream issue at https://github.com/maillab/cloud-mail/issues/655.

Affected VersionsENISA

cloud-mail 0 <3.6.0

Affected Packages

euvd cloud_mail fix: 3.6.0

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

Cloud Mail is a self-hosted webmail application whose mail-worker backend stores message bodies and attachments in object storage abstractions (KV, R2 and S3 service modules) and serves public objects from the /oss, /attachments and /static routes; attachment handling also uses linkedom for HTML parsing. The root cause is CWE-79 stored cross-site scripting compounded by content-type handling: attService.addAtt wrote the attacker's declared attachment MIME type into object metadata verbatim and the retrieval path (kv-obj-service, r2-service, s3-service) replayed it, along with an 'inline' Content-Disposition, without X-Content-Type-Options: nosniff or Content-Security-Policy: sandbox. A message part carrying a contentId and a dangerous renderable type (the patch's isDangerousAttType matches svg, html, xml, javascript and ecmascript) therefore rendered as active content same-origin, and the injected script could read the session JWT from localStorage. The 3.6.0 fix introduces mail-worker/src/utils/att-headers.js with a raster-only SAFE_INLINE_TYPES allowlist (jpeg, jpg, png, gif, webp, avif, bmp, x-icon, vnd.microsoft.icon); dangerous or unknown types are rewritten to application/octet-stream, non-safe inline dispositions are converted to attachment, and publicFileHeaders unconditionally emits nosniff and CSP sandbox. Raster images are unaffected because they stay on the safe-inline allowlist.

Know when Cloud Mail 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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Unauthenticated email delivery (PR:N, AV:N, AC:L) but the victim must open the attachment URL (UI:R); script executes in the app origin affecting a separate security scope (S:C) with low confidentiality/integrity impact via session-token theft.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
self-hosted open-source webmail project (maillab/cloud-mail), limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy