VDB

CVE-2025-29907

CVE-2025-29907 PUBLISHED CVSS 8.7 HIGH

jsPDF Bypass Regular Expression Denial of Service (ReDoS)

Reported by github_m · Published March 18, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
opensearch-dashboards-2Chainguard2.19.1-r3
jspdfparall3.0.1

Risk scores

CVSS 4.0
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

Affected products

VendorProductVersions
parallaxjsPDF< 3.0.1
chainguardopensearch-dashboards-20
parallaxjsPDF0
wolfiopensearch-dashboards-20
npmjspdf0
chainguardopensearch-dashboards-2-fips0

Timeline

  • Mar 18, 2025 CVE Published
  • Mar 18, 2025 CVE Updated
  • Mar 19, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2025 Coalition ESS Score (12 in total, the first dated here)
  • Dec 18, 2025 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-29907
vulnetix vdb fixes CVE-2025-29907

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-29907/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›