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-2020-28441 Vulnerability in npm package conf-cfg-ini
CVE-2023-36478 Vulnerability in maven package org.eclipse.jetty:jetty-http
CVE-2023-26133 Vulnerability in npm package progressbar.js
CVE-2018-18853 Vulnerability in maven package io.spray:spray-json
CVE-2020-19698 Vulnerability in maven package org.webjars.npm:editor.md