Skip to content

[CVE-2025-68428] Upgrade jspdf to 4.0.0#670

Closed
jotamartos wants to merge 1 commit intoopensearch-project:mainfrom
jotamartos:main
Closed

[CVE-2025-68428] Upgrade jspdf to 4.0.0#670
jotamartos wants to merge 1 commit intoopensearch-project:mainfrom
jotamartos:main

Conversation

@jotamartos
Copy link
Copy Markdown

@jotamartos jotamartos commented Jan 13, 2026

Description

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, addFont.

Only the node.js builds of the library are affected, namely the dist/jspdf.node.js and dist/jspdf.node.min.js files.

More information in CVE-2025-68428.

Issues Resolved

Fixed CVE by updating the dependency

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Jota Martos <jota.martos@broadcom.com>
@joshuali925
Copy link
Copy Markdown
Member

thanks, it got upgraded in #678

@joshuali925 joshuali925 closed this Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants