Skip to content

Conversation

@Nancy-Chauhan
Copy link

Summary

Updates the transitive dependency jspdf from ^3.0.2 to ^4.0.0 to fix a critical security vulnerability.

CVE-2025-68428: Local File Inclusion/Path Traversal vulnerability in jsPDF that could allow arbitrary file reads in Node.js environments.

Changes

  • Updated jspdf version constraint in superset-frontend/package.json from ^3.0.2 to ^4.0.0

Impact Assessment

Low risk of breakage:

  • Superset uses jspdf indirectly through dom-to-pdf for browser-based PDF export
  • The jspdf v4.0.0 breaking change only affects Node.js file system access (which is the vulnerability fix)
  • No API changes for browser-based PDF generation
  • The PDF export functionality (downloadAsPdf.ts) should continue working without modification

Security Advisory

Test Plan

  • Run existing frontend tests
  • Verify PDF export functionality works (Dashboard → Export to PDF)
  • Run npm audit to confirm vulnerability is resolved

Updates jspdf from 3.0.4 to 4.0.0 to fix a critical Local File
Inclusion/Path Traversal vulnerability (CVE-2025-68428).

Reference: GHSA-f8cm-6447-x5h2
@bito-code-review
Copy link
Contributor

bito-code-review bot commented Jan 29, 2026

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at evan@preset.io.

@hainenber
Copy link
Contributor

hi @Nancy-Chauhan, thanks for opening the PR. Can you post an after and before screenshot to see if PDF export functionalities are still intact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants