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.
CVE-2026-25755
This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(low)
- EPSS
- 52.7%
- KEV
- Not listed
Published
February 19, 2026
Last Modified
June 30, 2026
Advisory Details (9)
Auto-updated Jun 30, 20262440993 – (CVE-2026-25755) CVE-2026-25755 jsPDF: PDF object injection via unsanitized input in addJS method
https://bugzilla.redhat.com/show_bug.cgi?id=2440993PDF Object Injection via Unsanitized Input in addJS Method · Advisory · parallax/jsPDF · GitHub
https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprpv4.2.0
Patch available: parallax/jsPDF v4.2.0
https://github.com/parallax/jsPDF/releases/tag/v4.2.0commit 56b46d45b052 (parallax/jsPDF)
Patch available: parallax/jsPDF v4.2.0 (contains commit 56b46d45b052)
https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437CVEs/2026/CVE-2026-25755.md at main · ZeroXJacks/CVEs · GitHub
https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.mdVendor Advisories for CVE-2026-25755(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | advanced-cluster-security/rhacs-main-rhel8:1775594119 | 2026-04-08 | redhat |
| redhat | advanced-cluster-security/rhacs-main-rhel8:1775594284 | 2026-04-08 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| jspdf | — | 4.2.0 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:43 UTCEG score recompute
- 2026-06-30 04:43 UTCVendor advisory
- 2026-06-30 04:31 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-25755?
When was CVE-2026-25755 disclosed?
Is CVE-2026-25755 actively exploited?
What is the CVSS score of CVE-2026-25755?
How do I remediate CVE-2026-25755?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-25755
Is Your Infrastructure Affected by CVE-2026-25755?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.