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-2018-3750 Vulnerability in maven package org.webjars.npm:deep-extend
CVE-2020-36649 Vulnerability in maven package org.webjars.npm:papaparse
CVE-2023-24620 Vulnerability in maven package com.esotericsoftware.yamlbeans:yamlbeans
CVE-2018-14731 Vulnerability in npm package parcel-bundler
CVE-2020-8929 Vulnerability in maven package com.google.crypto.tink:tink