{"id":"CVE-2024-1648","aliases":["EUVD-2024-0489","GHSA-3jcv-5f9p-2f2p"],"status":"published","title":"electron-pdf 20.0.0 - Local File Read via Server Side XSS","description":"electron-pdf version 20.0.0 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00695,"percentile":0.53464,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2024-02-20T00:01:50Z","modified":"2026-10-28T02:30:27Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"electron-pdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"20.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"electron-pdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"20.0.0"}]}]}],"products":[{"vendor":"electron-pdf","product":"electron-pdf"},{"vendor":"fraserxu","product":"electron-pdf"}],"references":[{"url":"https://www.npmjs.com/package/electron-pdf/","tags":["x_transferred","Product","web"]},{"url":"https://fluidattacks.com/advisories/drake","tags":["x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1648","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3jcv-5f9p-2f2p"},{"url":"https://registry.npmjs.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1648.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-1648","title":"electron-pdf 20.0.0 - Local File Read via Server Side XSS","description":"electron-pdf version 20.0.0 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T00:01:50.68Z","modified":"2025-12-03T20:19:12.626Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:18.259965Z"}],"euvd":[{"id":"EUVD-2024-0489","description":"electron-pdf version 20.0.0 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T00:01:50Z","modified":"2025-12-03T20:19:12Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T19:49:10.321316Z"}],"ghsa":[{"id":"GHSA-3jcv-5f9p-2f2p","title":"Cross-site Scripting in electron-pdf","description":"electron-pdf version 20.0.0 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.\n\n\n\n","status":"published","published":"2024-02-20T03:30:57Z","modified":"2026-03-20T05:02:58Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:38.524712Z"}],"nvd":[{"id":"CVE-2024-1648","description":"electron-pdf version 20.0.0 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T01:15:07.943Z","modified":"2026-06-17T07:04:42.17Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:09:37.655131Z"}],"osv":[{"id":"CVE-2024-1648","title":"electron-pdf 20.0.0 - Local File Read via Server Side XSS","description":"electron-pdf version 20.0.0 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.","status":"published","published":"2024-02-20T00:01:50.68Z","modified":"2026-10-28T02:30:27.079574695Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:37.917085Z"},{"id":"GHSA-3jcv-5f9p-2f2p","title":"Cross-site Scripting in electron-pdf","description":"electron-pdf version 20.0.0 allows an external attacker to remotely obtain\n\narbitrary local files. This is possible because the application does not\n\nvalidate the HTML content entered by the user.\n\n\n\n","status":"published","published":"2024-02-20T03:30:57Z","modified":"2024-02-21T00:26:45.600299Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:35.747385Z"}]}}
