VDB
Sign up
MEDIUM6.1

GHSA-vh59-v9r5-4mh4

Cross-site scripting in jspdf

Quick fix

GHSA-vh59-v9r5-4mh4 — jspdf: upgrade to the fixed version with the command below.

npm install jspdf@2.0.0

Details

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It's possible to inject JavaScript code via the `html` method.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References