MediumGHSA-6h98-cf9g-vmg2CVE-2017-1000424
Electron vulnerable to URL spoofing via PDFium
Published 13 May 2022 · Updated 8 Nov 2023
Affected package
electronnpm
- Affected
- >=1.7.0 <1.7.6
- Fixed in
- 1.7.6
Update to the fixed version for your release line, for example:
npm install electron@1.7.6Details
Electron version 1.7.0 - 1.7.5 is vulnerable to a URL Spoofing problem when opening PDFs in PDFium resulting loading arbitrary PDFs that a hacker can control.
Is GHSA-6h98-cf9g-vmg2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected electron, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.