Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-hu3v-vhnb-kuhw
Vulnerability ID VCID-hu3v-vhnb-kuhw
Aliases CVE-2026-25755
GHSA-9vjf-qc39-jprp
Summary jsPDF has a PDF Object Injection via Unsanitized Input in addJS Method 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. ```js import { jsPDF } from "jspdf"; const doc = new jsPDF(); // Payload: // 1. ) closes the JS string. // 2. > closes the current dictionary. // 3. /AA ... injects an "Additional Action" that executes on focus/open. const maliciousPayload = "console.log('test');) >> /AA << /O << /S /JavaScript /JS (app.alert('Hacked!')) >> >>"; doc.addJS(maliciousPayload); doc.save("vulnerable.pdf"); ```
Status Published
Exploitability 0.5
Weighted Severity 8.6
Risk 4.3
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
cvssv3 9.6 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-25755.json
epss 0.00026 https://api.first.org/data/v1/epss?cve=CVE-2026-25755
epss 0.00026 https://api.first.org/data/v1/epss?cve=CVE-2026-25755
epss 0.00026 https://api.first.org/data/v1/epss?cve=CVE-2026-25755
epss 0.00026 https://api.first.org/data/v1/epss?cve=CVE-2026-25755
epss 0.00026 https://api.first.org/data/v1/epss?cve=CVE-2026-25755
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-9vjf-qc39-jprp
cvssv3.1 8.1 https://github.com/parallax/jsPDF
generic_textual HIGH https://github.com/parallax/jsPDF
cvssv3.1 8.1 https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
generic_textual HIGH https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
ssvc Track https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
cvssv3.1 8.1 https://github.com/parallax/jsPDF/releases/tag/v4.2.0
generic_textual HIGH https://github.com/parallax/jsPDF/releases/tag/v4.2.0
ssvc Track https://github.com/parallax/jsPDF/releases/tag/v4.2.0
cvssv3.1 8.1 https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
cvssv3.1_qr HIGH https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
generic_textual HIGH https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
ssvc Track https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
cvssv3.1 8.1 https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
generic_textual HIGH https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
ssvc Track https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
cvssv3.1 8.1 https://nvd.nist.gov/vuln/detail/CVE-2026-25755
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2026-25755
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-25755.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Found at https://github.com/parallax/jsPDF
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Found at https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-19T17:07:08Z/ Found at https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Found at https://github.com/parallax/jsPDF/releases/tag/v4.2.0
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-19T17:07:08Z/ Found at https://github.com/parallax/jsPDF/releases/tag/v4.2.0
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Found at https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-19T17:07:08Z/ Found at https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Found at https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-19T17:07:08Z/ Found at https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2026-25755
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.07676
EPSS Score 0.00026
Published At June 5, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-02T04:50:17.560072+00:00 GitLab Importer Import https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jspdf/CVE-2026-25755.yml 38.6.0