CVE-2025-29907

jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.1, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitised image urls to the addImage method, a user can provide a harmful data-url that results in high CPU utilization and denial of service. Other affected methods are html and addSvgAsImage. The vulnerability was fixed in jsPDF 3.0.1.
Configurations

Configuration 1 (hide)

cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*

History

22 Sep 2025, 18:43

Type Values Removed Values Added
Summary
  • (es) jsPDF es una librería para generar archivos PDF en JavaScript. Antes de la versión 3.0.1, el control del usuario sobre el primer argumento del método addImage provocaba un alto consumo de CPU y una denegación de servicio. Si se le permitía pasar URLs de imágenes no depuradas al método addImage, un usuario podía proporcionar una URL de datos dañina que provocaba un alto consumo de CPU y una denegación de servicio. Otros métodos afectados eran html y addSvgAsImage. La vulnerabilidad se corrigió en jsPDF 3.0.1.
First Time Parall
Parall jspdf
References () https://github.com/parallax/jsPDF/commit/b167c43c27c466eb914b927885b06073708338df - () https://github.com/parallax/jsPDF/commit/b167c43c27c466eb914b927885b06073708338df - Patch
References () https://github.com/parallax/jsPDF/security/advisories/GHSA-w532-jxjh-hjhj - () https://github.com/parallax/jsPDF/security/advisories/GHSA-w532-jxjh-hjhj - Exploit, Vendor Advisory, Mitigation
CPE cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

18 Mar 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-18 19:15

Updated : 2025-09-22 18:43


NVD link : CVE-2025-29907

Mitre link : CVE-2025-29907

CVE.ORG link : CVE-2025-29907


JSON object : View

Products Affected

parall

  • jspdf
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling