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-2023-1283 Vulnerability in npm package @builder.io/qwik
CVE-2020-15123 Vulnerability in npm package codecov
CVE-2017-12629 Vulnerability in maven package org.apache.solr:solr-core
CVE-2021-25978 Vulnerability in npm package apostrophe
CVE-2021-21297 Vulnerability in npm package @node-red/runtime