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-2013-7315 Vulnerability in maven package org.springframework:spring-web
CVE-2020-7691 Vulnerability in maven package org.webjars:jspdf
CVE-2022-24721 Vulnerability in maven package org.cometd.java:cometd-java-oort
CVE-2023-51075 Vulnerability in maven package cn.hutool:hutool-core
CVE-2021-41251 Vulnerability in npm package @sap-cloud-sdk/core