Improper Neutralization of Special Elements in Output Used by a Downstream Component in jspdf - CVE-2026-24043
Published: April 27, 2026
jspdf
Detailed vulnerability description
The vulnerability allows a remote attacker to inject arbitrary XMP metadata into generated PDF documents.
The vulnerability exists due to improper neutralization of special elements in output used by a downstream component in the addMetadata function when processing unsanitized user-supplied metadata input. A remote attacker can supply crafted XML content to inject arbitrary XMP metadata into generated PDF documents.
This can spoof document identity information and undermine the integrity of PDFs that are signed, stored, or otherwise processed afterward.