]> git.koha-community.org Git - koha.git/commit
Bug 19108 - Stored XSS in classsources.pl
authorAmit Gupta <amit.gupta@informaticsglobal.com>
Tue, 15 Aug 2017 08:25:45 +0000 (13:55 +0530)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 03:03:19 +0000 (15:03 +1200)
commit3a1f035038636c57a78350effccbaa903e6b835f
tree6386bef197c26a07ad50731283dab7e64e7ca91e
parent5ffa9b924cf4bed72f105dc711ca7dd03ee373c5
Bug 19108 - Stored XSS in classsources.pl

Fixed for both Classification sources & Classification filing rules

To Test
1. first case classification source: Hit the page
   /cgi-bin/koha/admin/classsources.pl?op=add_source
   second case classification filing rules:
   Hit the page /cgi-bin/koha/admin/classsources.pl?op=add_sort_rule
2. Add a text in the field Description that contains js
3. Save the page.
4. Notice js is execute
5. Apply patch and reload, the js is escaped

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt