# CVE-2021-23353: Regular Expression Denial of Service (ReDoS)

- Severity: Medium 5.9 (CVSS:3.1, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.64%, higher than 86% of CVEs (2026-12-01)
- Published: 2021-03-09T18:30:18.066Z
- Modified: 2026-06-17T03:38:36.463Z
- Also known as: GHSA-57f3-gghm-9mhc
- Weaknesses: CWE-400
- Assigned by: snyk

## Description

This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.

(As written by CVE List.)

## Affected

- jspdf: from unspecified before 2.3.1
- jspdf (npm): before 2.3.1
- parall jspdf: before 2.3.1

## Every score

- snyk: 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`
- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-JSPDF-1073626> (third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1083286> (third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1083287> (third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBMRRIO-1083288> (third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1083289> (third-party-advisory, web)
- <https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e> (patch, third-party-advisory, web)
- <https://github.com/MrRio/jsPDF/pull/3091> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23353> (advisory)

## Sources

- CVE List: [CVE-2021-23353](https://www.cve.org/CVERecord?id=CVE-2021-23353), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-57f3-gghm-9mhc](https://github.com/advisories/GHSA-57f3-gghm-9mhc), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2021-23353](https://nvd.nist.gov/vuln/detail/CVE-2021-23353), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23353 · Whole record: https://cve.day/CVE-2021-23353.json · Rebuilt by cve.day 2026-11-25T22:58:00.207Z
