-
-
Notifications
You must be signed in to change notification settings - Fork 102
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 on TaxonomyController #76
Comments
Thx for the report!
|
Hi the issues seems to be when Update or Store has been made and the request is redirected to the index page. I've justed tested
I'll let you know if I find anymore. |
Fair enough, I'll check them. Thx! |
|
|
Checked it myself, and it only affects the flash message after creation or update. |
The issue comes from the laracasts/flash package, see https://github.com/laracasts/flash/blob/3.1/src/views/message.blade.php#L22 The default, intended behavior is to be able to pass HTML to the flash messages from the code.
For Vanilo v1 I'll leave it as it is so that it doesn't break existing apps that rely on this behavior. The framework itself doesn't pass any HTML, so for v2 I'll change this behavior so that flash messages are escaped by default. |
<script>alert("YOu juST beEn hackED ( ͡° ͜ʖ ͡°) ")</script>
This issue also occurs in TaxonController@Create.
The text was updated successfully, but these errors were encountered: