Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-68428

published critical CVSS 4.0 · 9.2

jsPDF has Local File Inclusion/Path Traversal vulnerability

Published
05 Jan 2026, 21:43:55 UTC
Updated
07 Sep 2026, 12:04:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
parallax — jsPDF< 4.0.0 Affected Not stated GitHub_M
Red Hat — advanced-cluster-security/rhacs-main-rhel8Red Hat Advanced Cluster Security 4.8 · 1769615659 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — advanced-cluster-security/rhacs-main-rhel8Red Hat Advanced Cluster Security 4.9 · 1770074713 and later · 1770250889 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — advanced-cluster-security/rhacs-central-db-rhel8Red Hat Advanced Cluster Security 4 Unaffected Not required redhat-SADP
Red Hat — advanced-cluster-security/rhacs-rhel8-operatorRed Hat Advanced Cluster Security 4 Unaffected Not required redhat-SADP
Red Hat — advanced-cluster-security/rhacs-roxctl-rhel8Red Hat Advanced Cluster Security 4 Unaffected Not required redhat-SADP
Red Hat — advanced-cluster-security/rhacs-scanner-v4-db-rhel8Red Hat Advanced Cluster Security 4 Unaffected Not required redhat-SADP
Red Hat — advanced-cluster-security/rhacs-scanner-v4-rhel8Red Hat Advanced Cluster Security 4 Unaffected Not required redhat-SADP

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 [email protected]. 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.

en · GitHub_M · cna

en · redhat-SADP · adp

A path traversal vulnerability has been discovered in the jdPDF npm library. 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. Only the node.js builds of the library are affected, namely the `dist/jspdf.node.js` and `dist/jspdf.node.min.js`.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
9.2 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.6 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
parallax jsPDF < 4.0.0 (affected) GitHub_M · cna
Red Hat Red Hat Advanced Cluster Security 4.8 1769615659 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Advanced Cluster Security 4.9 1770074713 and later (unaffected · rpm)1770250889 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Advanced Cluster Security 4 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Advanced Cluster Security 4 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Advanced Cluster Security 4 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Advanced Cluster Security 4 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Advanced Cluster Security 4 Default: unaffected redhat-SADP · adp

Weaknesses

3
  • CWE-35 CWE-35: Path Traversal: '.../...//' (GitHub_M · cna)
  • CWE-73 CWE-73: External Control of File Name or Path (GitHub_M · cna)
  • CWE-73 External Control of File Name or Path (redhat-SADP · adp)

References

9

Provider assertions

3

GitHub_M · cna

jsPDF has Local File Inclusion/Path Traversal vulnerability

redhat-SADP · adp

jspdf: jsPDF Local File Inclusion/Path Traversal vulnerability

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0ffd3ff4f576922d64fb0d254a2d896ace679084c5ccf69b2524f87638eda4e1
Ingested
23 Sep 2026, 08:57:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected