VDB
Sign up
HIGH7.5

GHSA-57f3-gghm-9mhc

jspdf vulnerable to Regular Expression Denial of Service (ReDoS)

Quick fix

GHSA-57f3-gghm-9mhc — jspdf: upgrade to the fixed version with the command below.

npm install jspdf@2.3.1

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/jspdf
Introduced in: 0Fixed in: 2.3.1
Fixnpm install jspdf@2.3.1

References