Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft email with malicious alt/URL payload
-
DeliveryVictim opens email in Cypht
-
ExploitexternalResources.js renders notice via innerHTML
-
ExecutionDecoded payload executes as script
-
ImpactAbuse authenticated session to read/send mail
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 ALLOW_EXTERNAL_IMAGE_SOURCES configuration option to be enabled (not the default posture), which causes externalResources.js to render a 'Source blocked' notice for external images. The attacker places the payload in the alt text or URL of an external image tag in an HTML email; the vulnerable code builds the notice with innerHTML using decoded email-derived values. Limiting factors that reduce realistic risk: the victim must actively open the malicious email (UI:P/passive interaction), the target feature must be explicitly enabled by the operator, and the affected version must be in the 2.0.0-2.12.2 range; the impact is bounded to the victim's already-authenticated webmail session rather than the server host. |
| Impact | This is a genuine but moderate-priority vulnerability, not an emergency. The vendor's CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3 Medium) reflects a remotely-delivered, unauthenticated-attacker DOM XSS whose impact is confined to the victim's browser session (VC:N/VI:N/VA:N on the vulnerable system, with SC:L/SI:L on the subsequent/session system). Expressed in CVSS 3.1 terms this maps to the classic stored-XSS profile of roughly 6.1 (S:C, C:L/I:L). No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. There is no CISA KEV listing and no public exploit code was supplied - the only code artifact is the vendor PATCH diff (PR #2118), which demonstrates the flaw's mechanism but is not an attacker POC. Two factors meaningfully reduce real-world risk: exploitation requires the non-default ALLOW_EXTERNAL_IMAGE_SOURCES option to be enabled, and it requires victim interaction (opening the malicious email). Combined with Cypht's small deployment footprint, this argues for routine patching rather than crisis response. No signals are strongly conflicting; the main gap is the absence of EPSS data to gauge exploitation probability. |
| Exploit ScenarioDerived | An attacker sends a specially crafted HTML email to a Cypht user whose instance has ALLOW_EXTERNAL_IMAGE_SOURCES enabled, embedding a malicious payload in the alt text or URL of an external image tag. When the victim opens the email, externalResources.js builds the 'Source blocked' notice via innerHTML using the decoded, attacker-controlled values, executing arbitrary JavaScript in the victim's authenticated webmail session to read mail, send messages, or alter settings. No public exploit code was identified in the provided data; only the vendor's fixing PR is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
DOM-based cross-site scripting in Cypht webmail 2.0.0 through 2.12.2 allows unauthenticated remote attackers to run arbitrary JavaScript inside a victim's authenticated webmail session by embedding a crafted payload in the alt text or URL of an external image in an HTML email. Exploitation is conditional: the operator must have enabled the non-default ALLOW_EXTERNAL_IMAGE_SOURCES option (which makes externalResources.js render a 'Source blocked' notice) and the victim must open the malicious message, so the CVSS 4.0 base score is 5.3 and the risk is moderate rather than urgent; no public exploit code or confirmed active exploitation was identified at time of analysis. Successful script execution lets the attacker read mailboxes, send email as the victim, or change account settings, but does not compromise the server host itself.
RemediationAI
Vendor-released patch: upgrade to Cypht 2.13.0, which rewrites handleInvisibleResource() to use textContent and createElement instead of innerHTML (PR #2118, commit 75d2fb83d228be2aaa37036a11eea68d82122d85); distribution-packaged deployments should track the corresponding package update rather than a manual overlay. Where upgrading immediately is not possible, the single most effective compensating control is to disable ALLOW_EXTERNAL_IMAGE_SOURCES, which removes the blocked-image notice rendering path entirely - the trade-off is that users lose the inline 'Allow' prompt for remote images and must opt in to external content through other means, and the change may be visible to users as missing message previews. Operators who cannot upgrade or disable the feature but can maintain local patches can backport the upstream commit's textContent/createElement change to externalResources.js, accepting the maintenance burden of a forked asset. As defense in depth, a Content-Security-Policy on the webmail origin that forbids inline and eval-based script (script-src 'self' without 'unsafe-inline') limits payload execution, but Cypht's UI relies on inline handlers in places, so this must be staged and tested to avoid breaking the interface. Because the payload arrives as a stored email, filter or quarantine messages whose external image tags carry markup-like or encoded script content in alt/src attributes, and advise users to open suspicious HTML mail with external image loading blocked - neither measure replaces patching.
Affected VersionsENISA
Affected Packages
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
CWE-79 (Improper Neutralization of Input During Web Page Generation / cross-site scripting) manifests here as a client-side DOM sink rather than a server-side template flaw. In Cypht's modules/core/js_modules/utils/externalResources.js, the handleInvisibleResource() function built the 'Source blocked' placeholder for remote images by assigning a template literal to innerHTML, interpolating element.alt and the image source URL - values ultimately derived from attacker-supplied email content after HTML entity decoding. Because innerHTML parses its input as markup, an email containing an external <img> tag whose alt attribute or src URL carries an encoded event handler or tag-break sequence executes script in the webmail origin when the notice is rendered. The behavior only occurs when the ALLOW_EXTERNAL_IMAGE_SOURCES configuration setting is enabled, since that is the code path that generates the blocked-source notice; default deployments do not reach this sink with external resources. The upstream fix in PR #2118 (commit 75d2fb83d228be2aaa37036a11eea68d82122d85) replaces the innerHTML assignment with textContent for the label and DOM construction (document.createElement('a'), dataset.src, textContent) for the Allow link, eliminating the markup parsing of email-derived strings. VulnCheck classifies the issue as a stored DOM XSS, reflecting that the payload persists in the mailbox server-side and detonates client-side on open.
Know when Cypht 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Unauthenticated attacker delivers payload by email (AV:N, PR:N) but the victim must open it (UI:R); script runs in the browser session affecting a separate security scope (S:C) with limited read/modify impact (C:L/I:L, A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Cypht webmail 2.0.0 through 2.12.2 contains a DOM-based cross-site scripting vulnerability that allows remote attackers to execute arbitrary JavaScript by crafting malicious alt text or URL values in an HTML email's external image tag when ALLOW_EXTERNAL_IMAGE_SOURCES is enabled. Attackers can send a specially crafted email so that when the victim opens it, the externalResources.js code builds the blocked-image notice using innerHTML with decoded email-derived values, triggering script execution in the victim's authenticated session to read mailboxes, send email, or change settings.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
PHP object injection in Cypht before 2.12.2 allows authenticated users to execute arbitrary OS commands as the web serve
Cross-site scripting in Cypht webmail's contacts module (all versions before 2.12.2) allows unauthenticated remote attac
EUVD-2026-104966
GHSA-w69r-hqpc-72f2
NVD
CVE.org
EPSS
VulDB
Exploit-DB