{"id":"CVE-2021-23353","aliases":["CVE-2021-23353","GHSA-57f3-gghm-9mhc"],"related":[],"kind":"vulnerability","state":"published","title":"Regular Expression Denial of Service (ReDoS)","summary":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete jspdf versiones anteriores a 2.3.1.&#xa0;ReDoS es posible por medio de la función addImage","source":"nvd"}],"published":"2021-03-09T18:30:18.066Z","modified":"2026-06-17T03:38:36.463Z","severity":{"scorer":"snyk","scheme":"CVSS: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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS: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","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"2.3.1","status":"affected"}],"product":"jspdf","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.1"}],"ecosystem":"npm","package":"jspdf","purl":"pkg:npm/jspdf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.3.1"}],"vendor":"parall","product":"jspdf","cpe":"cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-JSPDF-1073626","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/MrRio/jsPDF/pull/3091","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23353","tags":["advisory"],"sources":["ghsa"]}],"credits":["Yeting Li"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23353","url":"https://www.cve.org/CVERecord?id=CVE-2021-23353","licence":"CVE Terms of Use","modified":"2024-09-17T01:27:08.086Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-57f3-gghm-9mhc","url":"https://github.com/advisories/GHSA-57f3-gghm-9mhc","licence":"CC-BY-4.0","modified":"2025-01-14T08:57:09.929Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23353","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23353","licence":"Public domain","modified":"2026-06-17T03:38:36.463Z"}],"updatedAt":"2026-11-25T22:58:00.207Z","epss":{"score":0.02644,"percentile":0.86016,"date":"2026-12-01T12:00:22.000Z"}}