Cross-site Scripting in electron-pdf
Date: 2024-02
Affected: npm/electron-pdf
Attack vector: xss
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-1648
CWE: CWE-79
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):