7.5
CWE
79
Advisory Published
Advisory Published
Updated

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

First published: Tue Feb 20 2024(Updated: )

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.

Credit: help@fluidattacks.com help@fluidattacks.com

Affected SoftwareAffected VersionHow to fix
npm/electron-pdf<=20.0.0
Electron=20.0.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-1648?

    CVE-2024-1648 is considered a critical vulnerability due to its potential to allow remote attackers to access arbitrary local files.

  • How do I fix CVE-2024-1648?

    To fix CVE-2024-1648, upgrade to version 20.0.1 or later of the electron-pdf package, which includes proper validation of HTML content.

  • What are the implications of CVE-2024-1648?

    The implications of CVE-2024-1648 include unauthorized access to sensitive local files by external attackers.

  • Is CVE-2024-1648 present in earlier versions of electron-pdf?

    Yes, CVE-2024-1648 affects all versions of electron-pdf up to and including version 20.0.0.

  • What is the affected software for CVE-2024-1648?

    CVE-2024-1648 specifically affects the electron-pdf package version 20.0.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203