# CVE-2024-1648: electron-pdf 20.0.0 - Local File Read via Server Side XSS

- Severity: High 7.5 (CVSS:3.1, scored by Fluid Attacks) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-20T00:01:50.680Z
- Modified: 2026-06-17T07:04:42.170Z
- Also known as: GHSA-3jcv-5f9p-2f2p
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: Fluid Attacks

## Description

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.

(As written by CVE List.)

## Affected

- electron-pdf: 20.0.0
- fraserxu electron-pdf: 20.0.0
- electron-pdf (npm): up to 20.0.0

## Every score

- Fluid Attacks: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://fluidattacks.com/advisories/drake> (exploit, third-party-advisory, web)
- <https://www.npmjs.com/package/electron-pdf/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-1648> (advisory)

## Sources

- CVE List: [CVE-2024-1648](https://www.cve.org/CVERecord?id=CVE-2024-1648), CVE Terms of Use, modified 2025-12-03
- GitHub Advisory Database: [GHSA-3jcv-5f9p-2f2p](https://github.com/advisories/GHSA-3jcv-5f9p-2f2p), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2024-1648](https://nvd.nist.gov/vuln/detail/CVE-2024-1648), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-1648 · Whole record: https://cve.day/CVE-2024-1648.json · Rebuilt by cve.day 2026-11-25T22:58:36.908Z
