Bug 19103 - Stored XSS in itemtypes.pl
authorAmit Gupta <amit.gupta@informaticsglobal.com>
Tue, 15 Aug 2017 03:22:40 +0000 (08:52 +0530)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 03:03:01 +0000 (15:03 +1200)
commit9ce88fb28a7260ea268d6f34d09d740ca63899e7
tree362271e93c568edb4a99d6ff9c1be73d9914baaf
parenta7bf6705a3b013105f3ce9e48a28e8e9c8912498
Bug 19103 - Stored XSS in itemtypes.pl

To Test
1. Hit the page /cgi-bin/koha/admin/itemtypes.pl
2. Add a text in the field Description, Checkin message that contains 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/itemtypes.tt