Skip to content

contribute.jquery.org: Sanitize input before rendering as HTML #393

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

Merged
merged 1 commit into from
Feb 11, 2018

Conversation

gibson042
Copy link
Member

@mgol
Copy link
Member

mgol commented Mar 14, 2016

The link no longer works.

@gibson042
Copy link
Member Author

Well, I suppose the consequences of submitting commit hashes containing single-quote characters (or worse) without this change are obvious.

@mgol
Copy link
Member

mgol commented Mar 14, 2016

Yeah, that's true.

@mgol
Copy link
Member

mgol commented Mar 14, 2016

This may only bite in combination with CLA checker bugs, right? User-provided input was already sanitized, repo/owner/sha are first used to generate $data and nothing would be found for rogue fake ones.

@gibson042
Copy link
Member Author

I believe that's correct.

@mgol
Copy link
Member

mgol commented Mar 15, 2016

OK, it shouldn't be extremely critical then. LGTM.

@gibson042 gibson042 force-pushed the 2016-03-14-injection branch from 0d11815 to 3aed244 Compare October 15, 2017 02:36
@gibson042
Copy link
Member Author

A year and a half with no injection attacks, but I updated it anyway. 🙃

@mgol mgol merged commit 9e97d27 into jquery:master Feb 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants