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 dompurify (GHSA-63q7-h895-m982) - CVE-2020-26870
- Cross-site Scripting in vis-timeline - CVE-2020-28487
- Cross-site Scripting (XSS) in Eclipse Theia - CVE-2020-27224
- Tags:
- npm
- jspdf
Anything's wrong? Let us know Last updated on September 08, 2023