Skip to content

XSS Fix: Use jQuery to build select options instead of +.#2479

Merged
sferik merged 1 commit into
railsadminteam:masterfrom
rogerbraun:fix-polymorphic-xss
Nov 19, 2015
Merged

XSS Fix: Use jQuery to build select options instead of +.#2479
sferik merged 1 commit into
railsadminteam:masterfrom
rogerbraun:fix-polymorphic-xss

Conversation

@rogerbraun

Copy link
Copy Markdown
Contributor

This fixes an XSS vulnerability with polymorphic associations.

Before, the label was used as directly as html instead of text.

This fixes an XSS vulnerability with polymorphic associations.
@rogerbraun rogerbraun changed the title Use jQuery to build select options instead of +. XSS Fix: Use jQuery to build select options instead of +. Nov 19, 2015
sferik added a commit that referenced this pull request Nov 19, 2015
XSS Fix: Use jQuery to build select options instead of +.
@sferik sferik merged commit 4653319 into railsadminteam:master Nov 19, 2015
@sferik

sferik commented Nov 19, 2015

Copy link
Copy Markdown
Collaborator

Thank you!

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.

2 participants