{"id":"CVE-2021-23353","details":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","aliases":["GHSA-57f3-gghm-9mhc"],"modified":"2026-08-19T15:42:31.809680Z","published":"2021-03-09T19:15:12.970Z","related":["SNYK-JAVA-ORGWEBJARS-1083289","SNYK-JAVA-ORGWEBJARSBOWER-1083287","SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288","SNYK-JAVA-ORGWEBJARSNPM-1083286","SNYK-JS-JSPDF-1073626"],"references":[{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-JSPDF-1073626"},{"type":"FIX","url":"https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e"},{"type":"FIX","url":"https://github.com/MrRio/jsPDF/pull/3091"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/parallax/jsPDF","events":[{"introduced":"0"},{"fixed":"9b8f1e962cbf0e886cdead7cf8a9d614943838eb"}],"database_specific":{"cpe":"cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.3.1"}],"source":"CPE_RANGE"}}],"versions":["v2.3.0","v2.2.0","v2.1.1","v2,1,0","v2.0.0","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.4.0","v.1.4.0","v1.3.5","1.3.4","v1.3.4","v1.3.3","v1.3.0","v1.2.61","v1.2.60","1.1.135","v1.0.272","v1.0.178","v1.0.150","v1.0.138","v1.0.119","v1.0.116","v1.0.115","v1.0.106","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23353.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/parallax/jspdf","events":[{"introduced":"0"},{"fixed":"9b8f1e962cbf0e886cdead7cf8a9d614943838eb"},{"fixed":"d8bb3b39efcd129994f7a3b01b632164144ec43e"}],"database_specific":{"cpe":"cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.3.1"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v2.3.0","v2.2.0","v2.1.1","v2,1,0","v2.0.0","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.4.0","v.1.4.0","v1.3.5","1.3.4","v1.3.4","v1.3.3","v1.3.0","v1.2.61","v1.2.60","1.1.135","v1.0.272","v1.0.178","v1.0.150","v1.0.138","v1.0.119","v1.0.116","v1.0.115","v1.0.106","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23353.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}