Bug 2440993 (CVE-2026-25755) - CVE-2026-25755 jsPDF: PDF object injection via unsanitized input in addJS method
Summary: CVE-2026-25755 jsPDF: PDF object injection via unsanitized input in addJS method
Keywords:
Status: NEW
Alias: CVE-2026-25755
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-19 15:01 UTC by OSIDB Bzimport
Modified: 2026-02-19 18:52 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-02-19 15:01:45 UTC
jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF. The vulnerability has been fixed in jspdf.0. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.


Note You need to log in before you can comment on or make changes to this bug.