Vulnerability · Published Feb 20, 2024 · Assigned by Fluid Attacks

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

High 7.5

In plain English

A high-severity cross-site scripting in electron-pdf from electron-pdf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 46.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron-pdfno fix listedGHSA-3jcv-5f9p-2f2p

Affected products (as reported)

VendorProductVersions
electron-pdf electron-pdf 20.0.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References