Found some more while testing 19086.
Patch for this coming!
Created attachment 66057 [details] [review] Bug 19125 - XSS - members.pl In preparation to test this patch: - Add a patron list named <script>alert("patron list")</script> - Add a library named <script>alert("library")</script> - Add a patron category named <script>alert("patron category")</script> To test: - Access patron search page and do a search - Verify that the alerts added above are executed - Apply patch - Verify that no alerts are displayed
Created attachment 66220 [details] [review] Bug 19125 - XSS - members.pl In preparation to test this patch: - Add a patron list named <script>alert("patron list")</script> - Add a library named <script>alert("library")</script> - Add a patron category named <script>alert("patron category")</script> To test: - Access patron search page and do a search - Verify that the alerts added above are executed - Apply patch - Verify that no alerts are displayed
<option value="[% l.branchcode | html %]">[% l.branchname |html %]</option> <option value="[% b.branchcode %]">[% b.branchname |html %]</option> Why escape branchcode in the first only ?
Created attachment 66449 [details] [review] Bug 19125 - XSS - members.pl In preparation to test this patch: - Add a patron list named <script>alert("patron list")</script> - Add a library named <script>alert("library")</script> - Add a patron category named <script>alert("patron category")</script> To test: - Access patron search page and do a search - Verify that the alerts added above are executed - Apply patch - Verify that no alerts are displayed Signed-off-by: Amit Gupta <amit.gupta@informaticsglobal.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
This patch has been pushed to 16.11.x and will be in 16.11.12.
These patches have been pushed to 17.05.x and are in 17.05.04.
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 16.05.x, for 16.05.17 release