Open-source package vulnerability · npm
CVE-2024-1648: Cross-site Scripting in electron-pdf
highCVSS 3.1 7.5GHSA-3jcv-5f9p-2f2p
electron-pdf version 20.0.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the HTML content entered by the user.
Published Feb 20, 2024 · Updated Mar 20, 2026
Affected packages
electron-pdf
- Ecosystem
- npm
- Affected
- <= 20.0.0
- Fixed in
- No patched version yet
- Check
npm ls electron-pdf
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
electron-pdf version 20.0.0 allows an external attacker to remotely obtain
arbitrary local files. This is possible because the application does not
validate the HTML content entered by the user.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
