1) Login to Mahara as an admin user.
2)Navigate to main menu> Portfolio > Skins
3) Click on Create skin
3) Enter the Skin title as "<script>alert(1);</script>good!"
4) Enter the skin description.
5) Click on save button.
6) Now navigate to main menu > Portfolio > pages & collections
7) Click on Add button
8) Select page
Actual Result: An alert popup appears and it triggers every time when settings button is pressed.
Expected Result: The page settings page should be displayed without any popup alerts.
1) Login to Mahara as an admin user.
2)Navigate to main menu> Portfolio > Skins
3) Click on Create skin
3) Enter the Skin title as "<script> alert(1) ;</script> good!"
4) Enter the skin description.
5) Click on save button.
6) Now navigate to main menu > Portfolio > pages & collections
7) Click on Add button
8) Select page
Actual Result: An alert popup appears and it triggers every time when settings button is pressed.
Expected Result: The page settings page should be displayed without any popup alerts.