Vulnary
← back to the feed
Critical· 9.2official fix available

CVE-2025-68428

A flaw in the jsPDF library lets attackers read any file on the server when using the node.js build. By passing a crafted path to the loadFile method, malicious code can include the contents of that file in a PDF. The issue is fixed in version 4.0.0.

publishedJan 5, 2026
last modifiedJul 20, 2026
sourcesNVD
severity · cvss
9.2
critical · how bad it is
exploitation · epss
2%
80th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 19, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

jsPDF library, node.js builds (dist/jspdf.node.js and dist/jspdf.node.min.js) prior to version 4.0.0. Typical users are developers using jsPDF in Node.js applications.

02

Real-world impact

An attacker could read sensitive files on the server and embed them into PDFs, potentially exposing confidential data or facilitating further attacks.

03

Why this severity

The CVSS score of 9.2 reflects the high impact of the vulnerability: it allows attackers to read any file on the system (high confidentiality impact) without authentication or user interaction, making it a critical flaw.

04

What to do about it

official fix available
recommended steps
  1. 01Upgrade jsPDF to version 4.0.0 or later.
  2. 02Restart the Node.js application to apply the update.

NVD-referenced vendor advisory

05

Timeline

  1. Jan 5, 2026 · Jan 5, 2026
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 20, 2026 · 16d ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 20, 2026 · 16d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Attack requirementsNone
Privileges requiredNone
User interactionNone needed
Confidentiality impactHigh
Integrity impactNone
Availability impactNone
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →