Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jspdf Cross-site Scripting (XSS) #163

Open
skt1598 opened this issue Jan 17, 2023 · 0 comments
Open

jspdf Cross-site Scripting (XSS) #163

skt1598 opened this issue Jan 17, 2023 · 0 comments
Assignees

Comments

@skt1598
Copy link

skt1598 commented Jan 17, 2023

Describe the bug
Introduced through: vue-html2pdf@1.8.0 › html2pdf.js@0.9.3 › jspdf@1.4.1
Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It's possible to inject JavaScript code via the html method.
It's possible to use <<script>script> in order to go over the filtering regex.

Package Version
1.8.0

Additional context
Ref: https://security.snyk.io/vuln/SNYK-JS-JSPDF-575256, https://security.snyk.io/vuln/SNYK-JS-JSPDF-568273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants