Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
parallax jsPDF — jsPDF has a PDF Object Injection via FreeText color
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L N R U N H N 6.5 .0036 28.8 —
AFFECTED
Product Versions Fixed
jsPDF < 4.2.1 – —
TIMELINE
Mar 9 Reserved by GitHub_M
Mar 18 Published (CNA: GitHub_M)
Aug 18 RESCORED — CVE-2026-31898 (parallax jsPDF). CVSS 8.1 → 6.5 (NVD).
Description
jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.2.1, user control of arguments of the `createAnnotation` method allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to the following method, a user can inject arbitrary PDF objects, such as JavaScript actions, which might trigger when the PDF is opened or interacted with the `createAnnotation`: `color` parameter. The vulnerability has been fixed in jsPDF@4.2.1. As a workaround, sanitize user input before passing it to the vulnerable API members.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| March 9, 2026 | Reserved | Reserved by GitHub_M |
| March 18, 2026 | Published | Published (CNA: GitHub_M) |
| August 18, 2026 | RESCORED | RESCORED — CVE-2026-31898 (parallax jsPDF). CVSS 8.1 → 6.5 (NVD). |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| parallax | jsPDF | — | < 4.2.1 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-31898 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.