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-2020-8136 Vulnerability in npm package fastify-multipart
CVE-2020-26238 Vulnerability in maven package com.cronutils:cron-utils
CVE-2018-3714 Vulnerability in npm package node-srv
CVE-2023-30522 Vulnerability in maven package org.jenkins-ci.plugins:fogbugz
CVE-2022-41710 Vulnerability in npm package electron-markdownify