CVE-2025-30349
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHorde 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStored XSS vulnerability in Horde IMP email client allows injection of malicious JavaScript via crafted text/html emails using onerror attributes (potentially with base64-encoded payloads). When users view these emails, the embedded JavaScript executes in their session context, enabling session hijacking and account takeover.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm Horde IMP installationCheck for Horde IMP by looking for the IMP directory in the web server's document root (commonly at /var/www/html/imp or within the Horde webmail structure). Alternatively, check the PHP package manager (composer) or system package manager for installed horde-imp package.Affected if Horde IMP is not installed on the system
-
Determine installed IMP versionCheck the IMP version by examining the version file (lib/IMP/Version.php or similar) in the IMP installation directory, or run: composer show horde/imp 2>/dev/null | grep -i version. Compare against the fixed versions: IMP 6.2.28 or Horde Framework 5.2.24.Affected if Installed version is prior to IMP 6.2.28 or Horde Framework prior to 5.2.24
-
Verify HTML email rendering is enabledIn the Horde IMP configuration (typically found in imp/config/conf.php or via the Horde administration web interface), check the preference setting for 'mailto' or 'html_mailto' that controls HTML email display. Look for settings like $conf['mailer']['type'] or display preferences that enable HTML rendering.Affected if HTML email rendering is enabled (the XSS executes when viewing HTML emails)
-
Inspect email content filtering settingsCheck the IMP configuration for content filtering rules or HTML sanitization settings. Look in imp/config/conf.php for $conf['mailbox']['virtual'] or $conf['mailsuite'] settings, and check the Horde framework sanitization configuration for any Content-Filter-Options or HTML filtering that may be applied to incoming emails.Affected if No HTML sanitization is configured or sanitization is disabled for incoming HTML emails
User is affected if Horde IMP/Framework is installed with a version prior to 6.2.28/5.2.24 AND HTML email rendering is enabled, allowing stored malicious emails to execute JavaScript when viewed.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedDisable HTML email rendering or set emails to plain-text mode to prevent XSS execution; apply vendor patches (IMP 6.2.28+ / Framework 5.2.24+) when released to remediate the underlying sanitization flaw.
Horde IMP 6.2.28+ or latest 7.x; Horde Application Framework 5.2.24+ or latest 7.x
- Check current Horde IMP version by viewing the lib/Bundle.php or CHANGES file in the IMP installation directory
- Check current Horde Application Framework version in the horde/docs/CHANGES file
- Obtain the latest Horde IMP and Framework releases from https://www.horde.org/ or your distribution's package repository
- Download or use package manager to obtain Horde IMP 6.2.28 or later (or the latest 7.x release)
- Download or obtain Horde Application Framework 5.2.24 or later (or the latest 7.x release)
- Backup your Horde configuration and database before upgrading
- Upgrade the Horde Application Framework first, then Horde IMP
- Clear all Horde caches after upgrade (delete contents of var/cache/ and var/tmp/ directories)
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-30349 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-30349 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data