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

Lineup column name is prone to js injections #455

Closed
dg-datavisyn opened this issue Jul 21, 2021 · 0 comments · Fixed by #480
Closed

Lineup column name is prone to js injections #455

dg-datavisyn opened this issue Jul 21, 2021 · 0 comments · Fixed by #480
Assignees
Labels
type: bug Something isn't working

Comments

@dg-datavisyn
Copy link

dg-datavisyn commented Jul 21, 2021

When I name a column document.body.innerHTML = '<img src="empty.gif" onerror="alert();this.parentNode.removeChild(this);" />'; the code gets executed

To Reproduce

  1. Name a column document.body.innerHTML = '<img src="empty.gif" onerror="alert();this.parentNode.removeChild(this);" />';

The column has the name, but nothing happens

image

@sgratzl sgratzl self-assigned this Aug 27, 2021
@sgratzl sgratzl added the type: bug Something isn't working label Aug 27, 2021
@sgratzl sgratzl linked a pull request Aug 27, 2021 that will close this issue
3 tasks
@sgratzl sgratzl closed this as completed Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants