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-2022-48285 Vulnerability in maven package org.webjars.bowergithub.stuk:jszip
CVE-2021-21162 Vulnerability in npm package electron
CVE-2020-28494 Vulnerability in npm package total.js
CVE-2019-16728 Vulnerability in maven package org.webjars.npm:dompurify
CVE-2010-1870 Vulnerability in maven package com.opensymphony:xwork-core