{"id":"CVE-2021-23353","aliases":["CLSA-2026-1780966318","EUVD-2021-0607","GHSA-57f3-gghm-9mhc"],"status":"published","title":"Regular Expression Denial of Service (ReDoS)","description":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:R","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02644,"percentile":0.85722,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2021-03-09T18:30:18Z","modified":"2026-10-24T10:51:24Z","fixes":[{"ecosystem":"npm","package":"jspdf","fixed_in":["2.3.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.1-tuxcare.0"},{"fixed":"1.4.1-tuxcare.1"}]}],"versions":["1.4.1"],"bundled":6},{"source":"osv","ecosystem":"npm","package":"jspdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.1"}]}]}],"products":[{"vendor":"parall","product":"jspdf"},{"vendor":"parallax","product":"jspdf"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSPDF-1073626","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/MrRio/jsPDF/pull/3091","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23353","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-57f3-gghm-9mhc"}],"sources":{"cve":[{"id":"CVE-2021-23353","title":"Regular Expression Denial of Service (ReDoS)","description":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","status":"published","published":"2021-03-09T18:30:18.066Z","modified":"2024-09-17T01:27:08.086Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:R","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2021-0607","description":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","status":"published","published":"2021-03-09T18:30:18Z","modified":"2024-09-17T01:27:08Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:R","level":"medium"}],"updated_at":"2026-11-03T00:28:49.329777Z"}],"ghsa":[{"id":"GHSA-57f3-gghm-9mhc","title":"jspdf vulnerable to Regular Expression Denial of Service (ReDoS)","description":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","status":"published","published":"2021-03-12T21:28:46Z","modified":"2023-09-08T20:22:16Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:37:03.287418Z"}],"nvd":[{"id":"CVE-2021-23353","description":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","status":"published","published":"2021-03-09T19:15:12.97Z","modified":"2026-06-17T03:38:36.463Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"CVE-2021-23353","description":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","status":"published","published":"2021-03-09T19:15:12.97Z","modified":"2026-10-24T10:51:24.292467681Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"GHSA-57f3-gghm-9mhc","title":"jspdf vulnerable to Regular Expression Denial of Service (ReDoS)","description":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","status":"published","published":"2021-03-12T21:28:46Z","modified":"2025-01-14T08:57:09.929568Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:37.864461Z"},{"id":"CLSA-2026-1780966318","title":"TuxCare security update for jspdf (6 CVEs)","description":"TuxCare rebuilt jspdf to address 6 CVEs. Fixed in 1.4.1-tuxcare.1.","status":"published","published":"2026-08-04T14:52:35Z","modified":"2026-10-15T09:47:50.523982728Z","updated_at":"2026-11-02T15:43:45.445699Z"}]}}
