{"id":"CVE-2026-24043","published":"2026-02-02T20:34:50Z","modified":"2026-02-03T15:27:51Z","title":"jsPDF Affected by Stored XMP Metadata Injection (Spoofing & Integrity Violation)","vendor":"parallax","product":"jsPDF","tier":"tail","description":{"text":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of the first argument of the addMetadata function allows users to inject arbitrary XML. If given the possibility to pass unsanitized input to the addMetadata method, a user can inject arbitrary XMP metadata into the generated PDF. If the generated PDF is signed, stored or otherwise processed after, the integrity of the PDF can no longer be guaranteed. The vulnerability has been fixed in jsPDF@4.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00291,"percentile":0.2215,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-vm32-vv63-w422","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/parallax/jsPDF/commit/efe54bf50f3f5e5416b2495e3c24624fc80b6cff","tags":["x_refsource_MISC"]},{"url":"https://github.com/parallax/jsPDF/releases/tag/v4.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":4.43},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"parallax","affectedVersions":[{"vendor":"parallax","product":"jsPDF","versions":["< 4.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-03T15:20:54.661574Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jspdf","vulnerableRanges":["<4.1.0"],"patched":["4.1.0"],"from":["GHSA-vm32-vv63-w422"],"provenance":"source"}],"summary":{"text":"jsPDF, a JavaScript library for generating PDFs, is affected by a flaw in its addMetadata function, where the first argument is not sanitised and allows arbitrary XML to be injected into the XMP metadata of the generated PDF. An attacker who can get unsanitised input passed to addMetadata, with no authentication or user interaction required, can inject arbitrary XMP metadata into the output, and if that PDF is later signed, stored or otherwise processed, its integrity can no longer be guaranteed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:20Z"},"euvd":{"id":"EUVD-2026-5294","exploited":false,"provenance":"source"}}