GHSA-9vjf-qc39-jprp · Severity: high · Ecosystem: npm — jsPDF has a PDF Object Injection via Unsanitized Input in addJS Method
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.
Conclusion & alert: CVE-2026-25755 is rated High Exploit Risk (63.9/100): CVSS High severity, with low exploitation likelihood (EPSS 0.63%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.63% | +0.60% |
| 2 | 2026-02-20 | — | 0.03% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.1 | 3.1 | HIGH |
|
2.8 | 5.2 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-9vjf-qc39-jprp · Severity: high · Ecosystem: npm — jsPDF has a PDF Object Injection via Unsanitized Input in addJS Method
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-25755 |
| URL | Tags |
|---|---|
| https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md | Exploit Mitigation Third Party Advisory |
| https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437 | Patch |
| https://github.com/parallax/jsPDF/releases/tag/v4.2.0 | Release Notes |
| https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp | Vendor Advisory |