Bug 19103 - Stored XSS in patron-attr-types.pl
authorAmit Gupta <amit.gupta@informaticsglobal.com>
Tue, 15 Aug 2017 04:37:45 +0000 (10:07 +0530)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 03:03:01 +0000 (15:03 +1200)
commit174f1eda3ba2186f75fccf246cb299256c2d28c9
tree43089b91a7b37e841452e98556f539662a79c8fa
parent9ce88fb28a7260ea268d6f34d09d740ca63899e7
Bug 19103 - Stored XSS in patron-attr-types.pl

To Test
1. Hit the page /cgi-bin/koha/admin/patron-attr-types.pl
2. Click on new patron attribute type
2. Add a text in the field Description that contain js.
2. Save the page.
3. Notice js is execute
4. 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/patron-attr-types.tt