boxscore/security
CVE · referencelatest edition

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.

CVE-2026-31898MEDIUM
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).
CWE-116, CWE-94 · CNA: GitHub_M · CVSS v3.1 · 9 references · NVD status: Modified

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
DateEventDetail
March 9, 2026ReservedReserved by GitHub_M
March 18, 2026PublishedPublished (CNA: GitHub_M)
August 18, 2026RESCOREDRESCORED — CVE-2026-31898 (parallax jsPDF). CVSS 8.1 → 6.5 (NVD).

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
parallaxjsPDF< 4.2.1

Weaknesses

CWE-116 · CWE-94

References (9)

Related

Authoritative record: CVE-2026-31898 at cve.org

Vendors: parallax

Weaknesses: CWE-116 · CWE-94

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.