-
Notifications
You must be signed in to change notification settings - Fork 13
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
do not reject data: protocol #26
Comments
The These are the only examples I could find, but I'm not a security expert. From what I've read, to guarantee XSS prevention you should only accept |
It feels odd, though, to discard mecanisms upstream. User of template strings should not merge unsafe data in the first place... |
Though i don't have a clear idea if
data:
protocol can be a xss attack vector.Maybe at least uri starting with
data:image/
should be allowed - they should be pretty harmless.The text was updated successfully, but these errors were encountered: