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-2022-34870 Vulnerability in maven package org.apache.geode:geode-pulse
CVE-2021-23648 Vulnerability in npm package @braintree/sanitize-url
CVE-2017-18077 Vulnerability in npm package brace-expansion
CVE-2020-8441 Vulnerability in maven package org.jyaml:jyaml
CVE-2023-46499 Vulnerability in npm package @evershop/evershop