Skip to content

Fix XSS on option content #2132 #2209

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

Closed
wants to merge 1 commit into from
Closed

Conversation

Intrepidd
Copy link

Patch suggestion by @obecker

@stof
Copy link
Contributor

stof commented Jan 30, 2015

This should be escaped only when inserting the text in the DOM, not when creating the text property here. Otherwise the text property does not contain text anymore but HTML.

@pfiller
Copy link
Contributor

pfiller commented Mar 3, 2015

I agree with @stof that we shouldn't be changing the text this way. We shoudln't be jamming the text into the dom without escaping, though. #2254 seems to handle that for us.

Thanks, @Intrepidd

@pfiller pfiller closed this Mar 3, 2015
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

Successfully merging this pull request may close these issues.

3 participants