Description
It’s possible to use nested script tags in order to bypass the filtering regex.
Recommendation
Update the jspdf package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.0.0
- Patched version(s): 2.0.0
References
Related Issues
- Cross-site scripting in jspdf (GHSA-vh59-v9r5-4mh4) - CVE-2020-7690
- Cross-Site Scripting in Prism (GHSA-wvhm-4hhf-97x9) - CVE-2020-15138
- Cross-site Scripting in Joplin - CVE-2020-15930
- Cross-Site Scripting in jquery - CVE-2020-7656
- Tags:
- npm
- jspdf
Anything's wrong? Let us know Last updated on September 08, 2023