CVE-2025-30349 Cross-site scripting in IMP

High 7.2 Published Updated

Attackers can execute arbitrary JavaScript via crafted HTML emails in Horde IMP, leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-30349?

CVE-2025-30349 is a high-severity cross-site scripting vulnerability in Horde IMP, published on 21 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2025-30349?

How do I fix CVE-2025-30349?

Apply the vendor's patch.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-30349 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-30349 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2025-30349, DLA-4113-1, GHSA-mchq-vv84-m9gr, UBUNTU-CVE-2025-30349.

Is CVE-2025-30349 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free