Local-file disclosure via executable link-preview URI
Published Jan 21, 2020 · Updated Oct 21, 2025
Cross-site scripting in WhatsApp Desktop before 0.3.9309 allows remote attackers to read local files through a crafted link preview. The link-preview renderer treats a javascript URI embedded in matched message text as clickable and executes it in the Electron context, where file fetches can read local data. Exploitation requires the victim to click the preview and Desktop to be paired with WhatsApp for iPhone before 2.20.10; the demonstrated consequence is local-file disclosure.
Summary
What happened
Cross-site scripting in WhatsApp Desktop before 0.3.9309 allows remote attackers to read local files through a crafted link preview. The link-preview renderer treats a javascript URI embedded in matched message text as clickable and executes it in the Electron context, where file fetches can read local data. Exploitation requires the victim to click the preview and Desktop to be paired with WhatsApp for iPhone before 2.20.10; the demonstrated consequence is local-file disclosure.
The record
- CVE
- CVE-2019-18426
- Published
- Jan 21, 2020
- Updated
- Oct 21, 2025
- Vendor
- Meta Platforms, Inc.
- Product
- WhatsApp Desktop
- Classifications
- CWE-79, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 21, 2020CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.3.9309
- Affected versionversion=unspecified <0.3.9309
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WhatsApp Desktop 0.3.9308 Persistent Cross-Site Scriptingproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities listingknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo