{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31898","published":"2026-03-18T04:17:21.050000Z","last_modified":"2026-08-18T12:18:06.210000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-116","CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*","part":"a","vendor":"parall","product":"jspdf","version_end_excluding":"4.2.1"}],"cpes_truncated":false,"vendors":["parall"],"products":["parall/jspdf"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-7x6v-j9x4-qf24","ecosystem":"npm","name":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"introduced":"0","fixed":"4.2.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-31898/","html_en":"/en/cve/CVE-2026-31898/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31898","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31898"},"untrusted":{"vendor_name":"Parall","product_name":"Jspdf","desc_en":"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.","affected":[{"untrusted_vendor":"parallax","untrusted_product":"jsPDF","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Advanced Cluster Security 4.8","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Advanced Cluster Security 4.9","versions":[]}],"references":[{"url":"https://github.com/parallax/jsPDF/blob/b1607a9391d4cd65ea7ade25998aea8345ae1be3/src/modules/annotations.js#L193-L208","tags":["Patch"]},{"url":"https://github.com/parallax/jsPDF/commit/4155c4819d5eca284168e51e0e1e81126b4f14b8","tags":["Patch"]},{"url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.1","tags":["Release Notes"]},{"url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-7x6v-j9x4-qf24","tags":["Mitigation","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7110","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:7128","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-31898","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448547","tags":[]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31898.json","tags":[]}]}}