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

Remote code execution is possible #127

Closed
sjoerddebruin opened this issue Nov 28, 2017 · 1 comment
Closed

Remote code execution is possible #127

sjoerddebruin opened this issue Nov 28, 2017 · 1 comment
Assignees
Labels
important This needs to be treated with priority

Comments

@sjoerddebruin
Copy link
Member

Book titles like https://tools.wmflabs.org/sqid/#/view?id=Q43981055 show some Javascript popup, this shouldn't be possible and is quite some security issue.

@mmarx mmarx self-assigned this Nov 28, 2017
@mkroetzsch mkroetzsch added the important This needs to be treated with priority label Nov 28, 2017
@mkroetzsch
Copy link
Member

mkroetzsch commented Nov 28, 2017

Note that Q4115189 can best be used to test this. I already inserted some HTML entities there and we can see a lack of escaping. The current behaviour suggests that a simple escaping alon ghte lines of https://stackoverflow.com/questions/6234773/can-i-escape-html-special-chars-in-javascript when applied ot all strings before output would work correctly.

mmarx added a commit that referenced this issue Nov 28, 2017
mmarx added a commit that referenced this issue Nov 28, 2017
mmarx added a commit that referenced this issue Nov 28, 2017
@mmarx mmarx closed this as completed in f1f6820 Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
important This needs to be treated with priority
Projects
None yet
Development

No branches or pull requests

3 participants