CVE-2021-23353 json
Regular Expression Denial of Service (ReDoS)
published 2021-03-09 5 y ago modified 2026-06-17 4 mo ago also GHSA-57f3-gghm-9mhc , EUVD-2021-0607
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
Patch / fix
- npm jspdf 2.3.1
- n/a jspdf 2.3.1
- github.com/MrRio/jsPDF@d8bb3b3 commit
- github.com/MrRio/jsPDF#3091 pull request
Exploit prediction
2.64% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | 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 |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jspdf | <2.3.1 |
2.3.1 |
Affected products
- n/a jspdf
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e
web, patch, third-party-advisory
-
github.com
/MrRio/jsPDF/pull/3091
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-JSPDF-1073626
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARS-1083289
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23353
advisory
Sources
- CVE List CVE-2021-23353
- GitHub Advisory GHSA-57f3-gghm-9mhc
- NVD CVE-2021-23353
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.