8.8
HIGH CVSS 3.1
CVE-2026-25755
jsPDF has PDF Object Injection via Unsanitized Input in addJS Method
Description

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 [email protected]. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.

INFO

Published Date :

Feb. 19, 2026, 3:16 p.m.

Last Modified :

Feb. 23, 2026, 6:52 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-25755 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Parall jspdf
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Update jsPDF to version 4.2.0 or later to fix arbitrary PDF object injection.
  • Update jsPDF to version 4.2.0 or later.
  • Escape parentheses in user-provided JavaScript before calling addJS.
Public PoC/Exploit Available at Github

CVE-2026-25755 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-25755.

URL Resource
https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md Exploit Mitigation Third Party Advisory
https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437 Patch
https://github.com/parallax/jsPDF/releases/tag/v4.2.0 Release Notes
https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-25755 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 day, 20 hours ago
0 stars 0 fork 0 watcher
Born at : Feb. 22, 2026, 1:18 a.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-25755 vulnerability anywhere in the article.

  • CybersecurityNews
jsPDF Vulnerability Exposes Millions of Developers to Object Injection Attacks

jsPDF Vulnerability Injection Attacks A newly disclosed security flaw in the popular jsPDF library has exposed millions of web developers to PDF Object Injection attacks, allowing remote attackers to ... Read more

Published Date: Feb 23, 2026 (10 hours, 48 minutes ago)
  • Daily CyberSecurity
Sandbox Bypassed: jsPDF Flaw Exposes Millions to Object Injection

If your web application generates PDF documents on the fly, you might be carrying a critical security risk in your dependency tree. A severe vulnerability has been disclosed in jsPDF, a massive corner ... Read more

Published Date: Feb 23, 2026 (23 hours, 11 minutes ago)

The following table lists the changes that have been made to the CVE-2026-25755 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Feb. 23, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.2.0
    Added Reference Type GitHub, Inc.: https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/parallax/jsPDF/releases/tag/v4.2.0 Types: Release Notes
    Added Reference Type GitHub, Inc.: https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp Types: Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md Types: Exploit, Mitigation, Third Party Advisory
  • New CVE Received by [email protected]

    Feb. 19, 2026

    Action Type Old Value New Value
    Added Description 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 [email protected]. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
    Added CWE CWE-94
    Added CWE CWE-116
    Added Reference https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
    Added Reference https://github.com/parallax/jsPDF/releases/tag/v4.2.0
    Added Reference https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
    Added Reference https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact