CVE-2025-52557 Mail-0 Zero Session Hijacking Via Email

High 8.6 Published Updated

Attackers can hijack user sessions in Mail-0 Zero by sending crafted emails containing malicious JavaScript due to improper sanitization.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-52557?

CVE-2025-52557 is a high-severity cross-site scripting vulnerability in Mail-0 Zero, published on 21 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Mail-0's Zero is an open-source email solution. In version 0.8 it's possible for an attacker to craft an email that executes javascript leading to session hijacking due to improper sanitization. This issue has been patched in version 0.81.

Weakness: CWE-1384

Which versions are affected by CVE-2025-52557?

How do I fix CVE-2025-52557?

No fix has been published for CVE-2025-52557 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-52557 being exploited?

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

Sources

Also known as GHSA-34gh-g567-hq85.

Is CVE-2025-52557 in your software?

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

Check your SBOMs for free