# CVE-2024-11182: MDaemon Email Server XSS in HTML email messages

Source: https://junglewise.ai/threats/cve-2024-11182-mdaemon-email-server-xss-in-html-email-messages  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-19. Updated: 2026-05-15  
License: CC BY 4.0 with a link back

CVE-2024-11182 · Severity: critical · CVSS 6.1 · Exploited in the wild · Published 2025-05-19

MDaemon Email Server, a popular alternative to Microsoft Exchange for business email, is vulnerable to a security flaw that allows attackers to run malicious code in a user's web browser. By sending a specially crafted email, an attacker can execute scripts when the recipient views the message in their webmail interface. This could lead to the theft of login credentials, unauthorized access to email accounts, or the hijacking of active user sessions.

## Quick answers

**Is CVE-2024-11182 exploited in the wild?** Yes. CVE-2024-11182 is known to be exploited in the wild, first recorded on 19 May 2025. Treat it as urgent.

**How severe is CVE-2024-11182?** Critical severity, with a CVSS score of 6.1, published 19 May 2025.

**Which products and versions are affected?** MDaemon Technologies MDaemon Email Server before 24.5.1c.

**Is there a fix for CVE-2024-11182?** A patch was published on 2024-11-15: Fixed in version 24.5.1c Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-11182 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2024-11182?** Check whether you run Mdaemon Email Server or MDaemon Technologies MDaemon Email Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in MDaemon Email Server versions prior to 24.5.1c. The flaw is rooted in the improper sanitization of HTML email content, specifically within 'img' tags. A remote, unauthenticated attacker can exploit this by sending a crafted email containing malicious JavaScript. When a victim views the email through the MDaemon webmail interface, the script executes in the context of the user's browser session. This can be used to steal session cookies, perform actions on behalf of the user, or redirect the user to malicious websites. This vulnerability has been observed being exploited in the wild.

## Affected products

- MDaemon MDaemon Email Server before 24.5.1c

## Timeline

- 2024-11-15: disclosed: Initial NVD publication
- 2024-11-15: patched: Fixed in version 24.5.1c
- 2025-05-19: kev added: Added to CISA Known Exploited Vulnerabilities catalog
