Description
All affected versions <2.0.0 of package jspdf are vulnerable to Cross-site Scripting (XSS). It is possible to inject JavaScript code via the html method.
Remediation
References
https://snyk.io/vuln/SNYK-JS-JSPDF-575256
https://github.com/MrRio/jsPDF/issues/2795
Related Vulnerabilities
CVE-2020-28168 Vulnerability in npm package axios
CVE-2018-3743 Vulnerability in npm package hekto
CVE-2020-26256 Vulnerability in npm package fast-csv
CVE-2020-28502 Vulnerability in maven package org.webjars.npm:xmlhttprequest-ssl
CVE-2022-36090 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore