-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Fix to prevent XSS, throw an error when the URL contains a JS script #2464
Conversation
Hey 👋 So the PR itself does amend the logic of axios/lib/helpers/isValidXss.js Line 4 in 19969b4
https://github.com/axios/axios?<svg/onload=alert(1)> or anything other than a script tag.
This isn't a huge problem since #2447 seems be not exploitable anyway. So this PR might be enough to stop Fortify reporting this as a vulnerability. Hope this helps |
Thanks guys, any plan for this release? |
what's the error? where can I see it? edit: nevermind, found your PR |
Hi @yasuf |
Changes