Description
Horde IMP through 6.2.27, as used with Horde Application Framework through 5.2.23, allows XSS that leads to account takeover via a crafted text/html e-mail message with an onerror attribute (that may use base64-encoded JavaScript code), as exploited in the wild in March 2025.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Horde | IMP | ≤ 6.2.27 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | php-horde-imp | No fix yet | — |
| Debian 11 | php-horde-imp | 6.2.27-2+deb11u1 | DLA-4113-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | php-horde +1 | No fix yet | — |
| Ubuntu 16.04 LTS | php-horde +1 | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
natasaka/CVE-2025-30349 ★ 2 · Mar 27, 2025
Horde IMP (through 6.2.27) vulnerability – obfuscation via HTML encoding – XSS payload
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DLA-4113-1 php-horde-imp - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/horde/webmail/releases/tag/v5.2.22
- https://www.horde.org/apps/imp
- https://lists.horde.org/archives/imp/Week-of-Mon-20250317/057781.html
- https://web.archive.org/web/20250321152616/https://lists.horde.org/archives/imp/Week-of-Mon-20250317/057781.html
- https://www.horde.org/download/horde
- https://github.com/horde/imp/blob/fd9212ca3b72ff834504af4886f7d95138619bd4/doc/INSTALL.rst?plain=1#L61-L62
- https://www.horde.org/apps/horde
- https://github.com/horde/imp/blob/fd9212ca3b72ff834504af4886f7d95138619bd4/doc/INSTALL.rst?plain=1#L23-L25
- https://lists.horde.org/archives/imp/Week-of-Mon-20250317/057784.html
- https://github.com/horde/imp/releases/tag/v6.2.27
- https://github.com/horde/base/releases/tag/v5.2.23
- https://web.archive.org/web/20250321162434/https://lists.horde.org/archives/imp/Week-of-Mon-20250317/057784.html
- https://github.com/natasaka/CVE-2025-30349/