-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
XSS Filter Failure in isURL (2.0) #613
Comments
RFC 3986 states:
RFC 1738 states:
RFC 3987 says that tl;dr I can fix this, but in general you should not be relying on the validator to suppress XSS attacks. |
Yeah, I see... Will not rely on the validator only. Just wanted to point it out here! 😊 Thanks, tho! |
Fixed in |
Wow! Awesome! |
I know, issue #605 is closed, but I found a similar issue (this time for real):
A URL like
https://example.com/foo/<script>alert('XSS')</script>/
is a valid URL in terms ofvalidator.isURL()
.Is there a chance to fix this?
Version 6.2.0
The text was updated successfully, but these errors were encountered: