Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-30349

HIGH · 7.2 CVSS v3.1 Published 2025-03-21
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
81/100
Remediation priority · High
Remotely reachable No privileges Zero-click

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 · unedited
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.

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 confidence

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

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

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 checks

Work through these to decide whether this CVE applies to you.

  1. Confirm Horde IMP installation
    Check 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
  2. Determine installed IMP version
    Check 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
  3. Verify HTML email rendering is enabled
    In 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)
  4. Inspect email content filtering settings
    Check 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

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

Recommended fix Moderate confidence

Horde IMP 6.2.28+ or latest 7.x; Horde Application Framework 5.2.24+ or latest 7.x

  1. Check current Horde IMP version by viewing the lib/Bundle.php or CHANGES file in the IMP installation directory
  2. Check current Horde Application Framework version in the horde/docs/CHANGES file
  3. Obtain the latest Horde IMP and Framework releases from https://www.horde.org/ or your distribution's package repository
  4. Download or use package manager to obtain Horde IMP 6.2.28 or later (or the latest 7.x release)
  5. Download or obtain Horde Application Framework 5.2.24 or later (or the latest 7.x release)
  6. Backup your Horde configuration and database before upgrading
  7. Upgrade the Horde Application Framework first, then Horde IMP
  8. Clear all Horde caches after upgrade (delete contents of var/cache/ and var/tmp/ directories)
Caveat Review Horde release notes for breaking changes; major version upgrades (5.x to 7.x) may require configuration adjustments and PHP version compatibility checks

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation12.0 h
  • Testing6.0 h
  • Review / QA4.0 h
26.0 hours of engineering $4,580
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-30349 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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