CVE-2026-25755Parall Jspdf Code Injection
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- Parall Jspdf < 4.2.0
- parallax jsPDF < 4.2.0
- Parall Jspdf 4.2.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Parall Jspdf and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Feb 19, 2026Published
- Aug 18, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Parall Jspdf CVEsYou are reading CVE-2026-25755. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Exploithttps://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
- Patchhttps://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
- Referencehttps://github.com/parallax/jsPDF/releases/tag/v4.2.0
- Vendor Advisoryhttps://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
- Referencehttps://access.redhat.com/errata/RHSA-2026:7110
- Referencehttps://access.redhat.com/errata/RHSA-2026:7128
- Vendor Advisoryhttps://access.redhat.com/security/cve/CVE-2026-25755
- Issue Trackinghttps://bugzilla.redhat.com/show_bug.cgi?id=2440993
- Referencehttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25755.json
Data last checked: Nov 27, 2026 08:11 UTC