Skip to main content
Public proof of conceptFix available

CVE-2025-68428

A public proof of concept exists; no exploitation attested.

  • Published2026-01-05
  • Fixed in4.0.0
  • WeaknessCWE-22 · CWE-35 · CWE-73

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.0.0, user control of the first argument of the loadFile method in the node.js build allows local file inclusion/path traversal. If given the possibility to pass unsanitized paths to the loadFile method, a user can retrieve file contents of arbitrary files in the local file system the node process is running in. The file contents are included verbatim in the generated PDFs. Other affected methods are `addImage`, `html`, and `addFont`. Only the node.js builds of the library are affected, namely the `dist/jspdf.node.js` and `dist/jspdf.node.min.js` files. The vulnerability has been fixed in jsPDF@4.0.0. This version restricts file system access per default. This semver-major update does not introduce other breaking changes. Some workarounds areavailable. With recent node versions, jsPDF recommends using the `--permission` flag in production. The feature was introduced experimentally in v20.0.0 and is stable since v22.13.0/v23.5.0/v24.0.0. For older node versions, sanitize user-provided paths before passing them to jsPDF.

Timeline

dates in UTC
  1. 2026-01-0522:15CVE publishedNVD

Versions per branch

NVD · OSV
Parall jspdf
BranchAffectedFixed in
4.0< 4.0.04.0.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • parallax jsPDF
    Affected
    • = < 4.0.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-01-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/jspdfRoot:npmall versions · fixed in 2.5.2-root.io.1
  • jspdfTuxCare:npmfrom 2.5.2-tuxcare.0 · fixed in 2.5.2-tuxcare.4
  • jspdfTuxCare:npmfrom 3.0.4-tuxcare.0 · fixed in 3.0.4-tuxcare.2
  • jspdfTuxCare:npmfrom 2.5.1-tuxcare.0 · fixed in 2.5.1-tuxcare.1
  • jspdfTuxCare:npmfrom 1.4.1-tuxcare.0 · fixed in 1.4.1-tuxcare.1
  • jspdfRoot:npmall versions · fixed in 2.5.2+aikido.2and 1 other package
  • jspdfRoot:npmall versions · fixed in 2.5.2-aikido.1
  • opensearch-dashboards-2Chainguardall versions · fixed in 2.19.4-r9

4 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-68428 Red Hat Product Security12 products fixed

    jspdf: jsPDF Local File Inclusion/Path Traversal vulnerability

  • RHSA-2026:2568 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHACS 4.9.3 security and bug fix update

  • RHSA-2026:2350 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHACS 4.9.3 security and bug fix update

  • RHSA-2026:1517 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHACS 4.8.8 security and bug fix update

Full record on NVD

Fix

  1. Update Parall jspdf to 4.0.0
  2. Vendor fix Red Hat Product Security RHSA-2026:2568 · 4 productsIf you are using an earlier version of RHACS, you are advised to upgrade to the version of RHACS mentioned in the synopsis and release notes in order to take advantage of the enhancements, bug fixes, and/or security patches in the release.
  3. Workaround from the vendor Red Hat Product Security RHSA-2026:2568 · 45 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-01-06
  • CNACVSS 4.09.2known since 2026-10-23
  • CNACVSS 3.18.6known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-35, CWE-73known since 2026-10-23
  • NVDweakness (CWE)CWE-22read 2026-10-23
  • FIRST EPSSEPSS score2.2 %2026-11-08
  • PoC-in-GitHubproof of concept2known since 2026-11-01
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCRITICAL2026-01-05

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-01-05
Last Modified
2026-10-07
NVD status
Modified
GitHub Advisory
GHSA-f8cm-6447-x5h2

Frequently asked questions

What is CVE-2025-68428?

jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.0.0, user control of the first argument of the loadFile method in the node.js build allows local file inclusion/path traversal. If given the possibility to pass unsanitized paths to the loadFile method, a user can retrieve file contents of arbitrary files in the local file system the node process is running in. The file contents are included verbatim in the generated PDFs. Other affected methods are `addImage`, `html`, and `addFont`. Only the node.js builds of the library are affected, namely the `dist/jspdf.node.js` and `dist/jspdf.node.min.js` files. The vulnerability has been fixed in jsPDF@4.0.0. This version restricts file system access per default. This semver-major update does not introduce other breaking changes. Some workarounds areavailable. With recent node versions, jsPDF recommends using the `--permission` flag in production. The feature was introduced experimentally in v20.0.0 and is stable since v22.13.0/v23.5.0/v24.0.0. For older node versions, sanitize user-provided paths before passing them to jsPDF.

Is CVE-2025-68428 actively exploited?

Active exploitation of CVE-2025-68428 has not been confirmed. Its EPSS score was 2.2% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-68428?

CVE-2025-68428 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running jspdf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record