CVE-2026-65053

Horde IMP before 7.2.0 Stored Cross-Site Scripting via AppleDouble Viewer Part Name

Published Aug 24, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Horde IMP’s AppleDouble MIME viewer inserts the attachment name from a multipart/appledouble message directly into an HTML status block without escaping. Because the name can contain arbitrary markup, a crafted message can place script into the page markup. Once stored in a user’s mailbox, the script executes any time the user opens the message, allowing cross‑site scripting in the context of that user. The flaw can also be chained with an unrelated arbitrary‑file‑read flaw to give an attacker code execution when an administrator views the message.

Affected Systems

This vulnerability affects all versions of the Horde IMP mail client prior to 7.2.0. The issue was fixed in release 7.2.0, which sanitizes the AppleDouble part name with htmlspecialchars. Administrators should verify that they are running 7.2.0 or later, and otherwise consider the older versions vulnerable.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate overall risk, and the EPSS score is currently unavailable, so an estimate of the likelihood of exploitation is uncertain. The flaw is listed as not part of CISA’s Known Exploited Vulnerabilities catalog. Exploitation requires only the ability to send mail to a targeted user; no account or privileged access is needed. The likely attack vector is the injection of a malicious AppleDouble message through the standard SMTP transport, after which the malicious script runs in victim browsers whenever the message is viewed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Horde IMP application to version 7.2.0 or later, which applies the htmlspecialchars() sanitization to AppleDouble part names.
  • If an upgrade is not immediately possible, disable or block the AppleDouble MIME viewer or configure the server to reject multipart/appledouble messages until the patch is applied.
  • Inspect and delete any messages that contain AppleDouble parts with suspicious or unexpected names from affected mailboxes before applying the fix.

Generated by OpenCVE AI on August 24, 2026 at 19:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Horde imp
Vendors & Products Horde imp
Type Values Removed Values Added
Description 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.
Title Horde IMP before 7.2.0 Stored Cross-Site Scripting via AppleDouble Viewer Part Name
First Time appeared Horde
Horde horde Imp
Weaknesses CWE-79
CPEs cpe:2.3:a:horde:horde_imp:*:*:*:*:*:*:*:*
Vendors & Products Horde
Horde horde Imp
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 29, 2026, 11:47 AM
Reserved
Jul 21, 2026, 2:05 PM
Status
Deferred
Published
Aug 24, 2026, 3:16 PM
Modified
Oct 12, 2026, 3:10 PM