CVE-2026-65053: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in horde imp
Description
CVE-2026-65053 is a cross-site scripting (XSS) vulnerability in Horde IMP's AppleDouble MIME viewer. It occurs because an attacker-controlled attachment name is written into an HTML status block without proper escaping, allowing script execution in the context of any user who views the crafted message. The vulnerability affects versions prior to 7.2.0, which introduced escaping to mitigate the issue. Exploitation requires only the ability to send mail to a user and no account on the target system. The vulnerability can be chained with another flaw (CVE-2026-58451) to escalate to code execution in an administrator's session.
CVSS v4.0
Score 5.1medium
Affected software
horde
imp
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Horde IMP's AppleDouble MIME viewer improperly neutralizes input during web page generation by inserting an attacker-controlled attachment name directly into an HTML status block without escaping. Specifically, in lib/Mime/Viewer/Appledouble.php, the _IMPrender() function uses IMP_Contents::getPartName() to retrieve the MIME part's name parameter from the message and passes it into an IMP_Mime_Status object via sprintf. The IMP_Mime_Status::__toString() method concatenates this text directly into HTML markup, resulting in the raw value being rendered verbatim. A crafted multipart/appledouble message with malicious markup in the name parameter can execute script in any user’s browser who views the message, with the payload persisting in the mailbox. Version 7.2.0 fixes this by applying htmlspecialchars() escaping. The researcher also demonstrated chaining this XSS with CVE-2026-58451 (arbitrary file read) to achieve application code execution in an administrator's session. Exploitation requires no privileges other than sending mail to a user.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary script in the context of any user who views the crafted email message, potentially leading to session hijacking or other client-side attacks. The payload persists in the mailbox, increasing risk of repeated exploitation. The vulnerability requires no user account on the system, only the ability to send mail to a victim. Additionally, chaining with another vulnerability (CVE-2026-58451) can escalate impact to application code execution in an administrator's session.
Mitigation Recommendations
Version 7.2.0 of Horde IMP includes a fix that escapes the attacker-controlled attachment name using htmlspecialchars(), preventing script execution. Users should upgrade to version 7.2.0 or later to remediate this vulnerability. No other mitigation is indicated by the vendor advisory. Patch status is confirmed by the description stating the fix in 7.2.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-21T14:05:53.719Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8c5e47acd9273b49b4ea29
Added to database: 08/24/2026, 15:07:51 UTC
Last enriched: 09/10/2026, 21:32:45 UTC
Last updated: 10/08/2026, 18:48:47 UTC
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.