Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron-pdf
  4. ›
  5. CVE-2024-1648

CVE-2024-1648: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

February 20, 2024 (updated February 21, 2024)

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

  • fluidattacks.com/advisories/drake
  • github.com/advisories/GHSA-3jcv-5f9p-2f2p
  • nvd.nist.gov/vuln/detail/CVE-2024-1648

Code Behaviors & Features

Detect and mitigate CVE-2024-1648 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 20.0.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/electron-pdf/CVE-2024-1648.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:14 +0000.