Commit c21e012d by Waheed Ahmed

Merge pull request #2241 from edx/waheed/ora256-reflected-xss-in-ora-submissions-fix

Fixed allowing for execution of arbitrary Javascript in student response
parents a077dc81 d12e7e88
......@@ -368,6 +368,7 @@ class @CombinedOpenEnded
@rub.initialize(@location)
@child_state = 'assessing'
@find_assessment_elements()
@answer_area.val(response.student_response)
@rebind()
answer_area_div = @$(@answer_area_div_sel)
answer_area_div.html(response.student_response)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment