CVE-2021-23353
Regular Expression Denial of Service (ReDoS)
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.9
Regular Expression Denial of Service (ReDoS)
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
- Record
CVE-2021-23353- CVSS 3.1
- 5.9 Medium
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 - Updated
- 2026-11-02
EUVDEUVD-2021-0607
5.9
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
- Record
EUVD-2021-0607- CVSS 3.1
- 5.9 Medium
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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-57f3-gghm-9mhc
7.5
jspdf vulnerable to Regular Expression Denial of Service (ReDoS)
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
- Record
GHSA-57f3-gghm-9mhc- 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 - Weakness
- CWE-400
- Updated
- 2026-11-02
NVD
5.9
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
- Record
CVE-2021-23353- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - 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 - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
OSV
7.5
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
- Record
CVE-2021-23353- 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 - Updated
- 2026-11-02
OSVGHSA-57f3-gghm-9mhc
7.5
jspdf vulnerable to Regular Expression Denial of Service (ReDoS)
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
- Record
GHSA-57f3-gghm-9mhc- 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 - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVCLSA-2026-1780966318 No score
TuxCare security update for jspdf (6 CVEs)
TuxCare rebuilt jspdf to address 6 CVEs. Fixed in 1.4.1-tuxcare.1.
- Record
CLSA-2026-1780966318- Updated
- 2026-11-02
Affected products
Affected packages
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, products, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-23353 is a medium vulnerability (CVSS 5.9) in Parall Jspdf, published March 9, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.64%, the 85th percentile. Fixed in jspdf 2.3.1.
References
snyk.io/vuln/SNYK-JS-JSPDF-1073626
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287
snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288
snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289
github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e
github.com/MrRio/jsPDF/pull/3091
nvd.nist.gov/vuln/detail/CVE-2021-23353
github.com/advisories/GHSA-57f3-gghm-9mhc