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

rawColumns instead of escapeColumns #7

Open
NModern opened this issue Oct 27, 2019 · 1 comment
Open

rawColumns instead of escapeColumns #7

NModern opened this issue Oct 27, 2019 · 1 comment

Comments

@NModern
Copy link

NModern commented Oct 27, 2019

Hi. Using escapeColumns(['id']) in TableController.stub makes other columns to be unescaped, so it makes them vulnerable to XSS. I suggest using rawColumns for actions column to make raw only this column ( rawColumns(['actions']) ) , so others will be escaped always.

@bvipul
Copy link
Owner

bvipul commented Oct 30, 2019

nice suggestion @NModern, I will check the usage and do the needful

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