CVE-2025-40632 Cross-site scripting (XSS) vulnerability in IceWarp Mail Server

Low 2.0 Published Updated

An attacker can inject malicious JavaScript via the lastLogin cookie in IceWarp Mail Server, leading to script execution in the victim's browser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-40632?

CVE-2025-40632 is a low-severity cross-site scripting vulnerability in Icewarp Mail Server, published on 16 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) in Icewarp Mail Server affecting version 11.4.0. This vulnerability allows an attacker to modify the “lastLogin” cookie with malicious JavaScript code that will be executed when the page is rendered.

Weakness: CWE-79

Which versions are affected by CVE-2025-40632?

It affects 1 product.

Products include Icewarp Mail Server.

How do I fix CVE-2025-40632?

No fix has been published for CVE-2025-40632 yet. Limit exposure of the affected software until one is available.

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-40632 being exploited?

There is no known exploitation of CVE-2025-40632 in the wild and no public exploit code.

Sources

Also known as GHSA-qxgw-cmmh-8chh.

Is CVE-2025-40632 in your software?

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

Check your SBOMs for free