Race condition in jspdf - CVE-2026-24040
Published: April 27, 2026
jspdf
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to a race condition in the addJS method when generating PDFs concurrently. A remote attacker can trigger simultaneous PDF generation requests to disclose sensitive information.
This can cause a PDF generated for one user to contain JavaScript content and embedded sensitive data intended for another user.