CVE-2025-30401 Code injection in WhatsApp Desktop for Windows
A spoofing flaw in WhatsApp Desktop for Windows allowed attackers to execute arbitrary code by mismatching MIME types and file extensions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-30401?
CVE-2025-30401 is a medium-severity code injection vulnerability in Facebook WhatsApp Desktop for Windows, published on 5 Apr 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A spoofing issue in WhatsApp for Windows prior to version 2.2450.6 displayed attachments according to their MIME type but selected the file opening handler based on the attachment’s filename extension. A maliciously crafted mismatch could have caused the recipient to inadvertently execute arbitrary code rather than view the attachment when manually opening the attachment inside WhatsApp. We have not seen evidence of exploitation in the wild.
Which versions are affected by CVE-2025-30401?
It affects 1 product.
Products include Whatsapp Whatsapp.
How do I fix CVE-2025-30401?
No fix has been published for CVE-2025-30401 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-30401 being exploited?
There is no known exploitation of CVE-2025-30401 in the wild and no public exploit code.
Other vulnerabilities in Facebook WhatsApp Desktop for Windows
Sources
Also known as GHSA-hp4v-q7qc-45wr.