{"id":"CVE-2021-23353","published":"2021-03-09T18:30:18Z","modified":"2024-09-17T01:27:08Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02644,"percentile":0.85961,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSPDF-1073626","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289","tags":["x_refsource_MISC"]},{"url":"https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e","tags":["x_refsource_MISC"]},{"url":"https://github.com/MrRio/jsPDF/pull/3091","tags":["x_refsource_MISC"]}],"priority":{"score":21.3,"factors":[{"name":"EPSS percentile","points":17.19},{"name":"CVSS severity","points":4.13}]},"affectedVersions":[{"vendor":"n/a","product":"jspdf","versions":[">= unspecified, < 2.3.1"]}],"affected":[{"ecosystem":"npm","package":"jspdf","vulnerableRanges":["<2.3.1"],"patched":["2.3.1"],"from":["GHSA-57f3-gghm-9mhc"],"provenance":"source"}],"summary":{"text":"The flaw is a Regular Expression Denial of Service (ReDoS) condition in the jspdf package, affecting versions before 2.3.1. An attacker who can get the application to process crafted input through the addImage function can cause a denial of service, and the attack requires no privileges or user interaction over the network, though it is considered a high-complexity attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:23Z"},"euvd":{"id":"EUVD-2021-0607","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7690","published":"2020-07-06","fixed":"2.0.0","kev":false},{"cve":"CVE-2020-7691","published":"2020-07-06","fixed":"2.0.0","kev":false,"link":{"from":"CVE-2020-7691","to":"CVE-2021-23353","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jspdf","fromFixed":"2.0.0","toFixed":"2.3.1","daysApart":246}]}},{"cve":"CVE-2021-23353","published":"2021-03-09","fixed":"2.3.1","kev":false},{"cve":"CVE-2025-29907","published":"2025-03-18","fixed":"3.0.1","kev":false},{"cve":"CVE-2025-57810","published":"2025-08-26","fixed":"3.0.2","kev":false},{"cve":"CVE-2025-68428","published":"2026-01-05","fixed":"4.0.0","kev":false}],"package":"npm:jspdf"}}