# CVE-2025-29907: jsPDF Bypass Regular Expression Denial of Service (ReDoS)

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-18T18:40:57.504Z
- Modified: 2026-09-10T03:50:23.282Z
- Also known as: GHSA-w532-jxjh-hjhj
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- parallax jsPDF: < 3.0.1
- jspdf (npm): before 3.0.1
- parall jspdf: before 3.0.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/parallax/jsPDF/security/advisories/GHSA-w532-jxjh-hjhj> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/parallax/jsPDF/commit/b167c43c27c466eb914b927885b06073708338df> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-29907> (advisory)
- <https://github.com/parallax/jsPDF> (package)

## Sources

- CVE List: [CVE-2025-29907](https://www.cve.org/CVERecord?id=CVE-2025-29907), CVE Terms of Use, modified 2025-03-18
- GitHub Advisory Database: [GHSA-w532-jxjh-hjhj](https://github.com/advisories/GHSA-w532-jxjh-hjhj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-29907](https://nvd.nist.gov/vuln/detail/CVE-2025-29907), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-29907 · Whole record: https://cve.day/CVE-2025-29907.json · Rebuilt by cve.day 2026-11-25T22:58:55.346Z
