CVE-2026-25755HIGH 8.8EPSS p45.5%

CVE-2026-25755CVE-2026-25755

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.

Scoring

CVSS 3.18.8 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS0.63% probability of exploitation · percentile 45.5% · 2026-06-19T12:03:05Z
Published2026-02-19
Last modified2026-02-23

Underlying weaknesses· 2

CWE-94CWE-116

References

  1. https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
  2. https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
  3. https://github.com/parallax/jsPDF/releases/tag/v4.2.0
  4. https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp

2

TypeTargetConfidenceTier
WeaknessImproper Encoding or Escaping of Outputcwe-1160%live
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-25940
CVE
CVE-2026-24737
CVE
CVE-2025-24671
CVE
CVE-2026-26830
CVE
CVE-2026-5287
CVE
CVE-2025-65875
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.