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

Published Mar 9, 2021
·
Updated

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

Affected Software

2 affected componentsFixes available
npm/jspdf<2.3.1
2.3.1
parall jspdf Node.js<2.3.1

Event History

Mar 9, 2021
CVE Published
via MITRE·06:30 PM
Data Sourced
via MITRE·06:30 PM
DescriptionSeverityWeakness
Mar 12, 2021
Advisory Published
09:28 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-23353?

CVE-2021-23353 is a vulnerability that affects the package jspdf before version 2.3.1, allowing for Denial-of-Service attacks through the addImage function.

2

How does CVE-2021-23353 impact jspdf?

CVE-2021-23353 can result in ReDoS (Regular Expression Denial of Service) attacks when the addImage function is used in jspdf.

3

What is the severity of CVE-2021-23353?

CVE-2021-23353 has a severity score of 7.5 (High).

4

How can I fix CVE-2021-23353?

To fix CVE-2021-23353, update jspdf to version 2.3.1 or higher.

5

Where can I find more information about CVE-2021-23353?

You can find more information about CVE-2021-23353 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-23353), [GitHub Pull Request](https://github.com/MrRio/jsPDF/pull/3091), [GitHub Commit](https://github.com/MrRio/jsPDF/commit/d8bb3b39efcd129994f7a3b01b632164144ec43e).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203