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://github.com/MrRio/jsPDF/issues/2795
https://snyk.io/vuln/SNYK-JS-JSPDF-575256
Related Vulnerabilities
CVE-2021-23329 Vulnerability in npm package nested-object-assign
CVE-2018-16485 Vulnerability in npm package m-server
CVE-2022-21670 Vulnerability in npm package markdown-it
CVE-2018-10469 Vulnerability in maven package org.b3log:symphony
CVE-2023-46998 Vulnerability in maven package org.webjars.bower:bootbox.js