CVE-2026-31898
1 advisory.
npm/jspdf CVE-2026-31898: high 8.1
jsPDF has a PDF Object Injection via FreeText color
Action: Upgrade jspdf to 4.2.1 or later.
npm i jspdf@4.2.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 4.2.1 | - |
Fixed versions
| 4.2.1 |
Sources
- osv: GHSA-7x6v-j9x4-qf24
- https://github.com/parallax/jsPDF/security/advisories/GHSA-7x6v-j9x4-qf24
- https://nvd.nist.gov/vuln/detail/CVE-2026-31898
- https://github.com/parallax/jsPDF/commit/4155c4819d5eca284168e51e0e1e81126b4f14b8
- https://github.com/parallax/jsPDF
- https://github.com/parallax/jsPDF/blob/b1607a9391d4cd65ea7ade25998aea8345ae1be3/src/modules/annotations.js#L193-L208
- https://github.com/parallax/jsPDF/releases/tag/v4.2.1
CVE-2026-31898 · published · modified · JSON