Skip to main content
VulnerabilityPublished Updated

CVE-2026-25755: parallax jsPDF · Code Injection

Affects parallax jsPDFSource CVE Database V5

0

Not known to be exploited · CVSS 8.1 High : upgrade to 4.2.0 soon.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 61% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.2.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade parallax jsPDF to 4.2.0.

Affected software

ProductAffectedFixed in
parallaxjsPDFAffected
  • <4.2.0
Fixed in
  • 4.2.0

AI-suggested

A fix is available in jsPDF version 4.2.0; users should upgrade to this version to remediate the vulnerability. As a workaround, sanitize user-provided JavaScript code by strictly escaping backslashes and parentheses before passing it to the addJS method. Additionally, users should avoid opening PDF documents from untrusted sources. The vendor advisory confirms the availability of an official fix and recommends these mitigations.

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

References

Community reviews

Loading reviews…