Security mailing lists by PureSourceCode

CVE-2025-29907

HIGH 8.7CVSS 4.0

jsPDF Bypass Regular Expression Denial of Service (ReDoS)

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.

Published
18 Mar 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-400CWE-770
Also known as
GHSA-w532-jxjh-hjhj
Sources
NVDJSONOSV GHSA-w532-jxjh-hjhjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD parall jspdf
cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*
< 3.0.1 3.0.1
OSV npm jspdf < 3.0.1 3.0.1

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 18 Mar 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.