This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23353.json"