]> git.koha-community.org Git - koha.git/commit
Bug 19108 - Stored XSS in biblio_framework.pl and marctagstructure.pl
authorAmit Gupta <amit.gupta@informaticsglobal.com>
Tue, 15 Aug 2017 09:07:50 +0000 (14:37 +0530)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 19 Sep 2017 13:58:05 +0000 (15:58 +0200)
commit83fdc8aea52533dbcb4261fd986d5760e5baa6df
tree23ecd8640b8c25df459c381cd14b19a4b030658c
parenteccce3e1ba3bbcb73d47defc49b322fe578e5014
Bug 19108 - Stored XSS in biblio_framework.pl and marctagstructure.pl

To Test
1. Hit the page /cgi-bin/koha/admin/biblio_framework.pl?op=add_form
2. Add a text in the field Description that contains js
3. Save the page.
4. Notice js is execute
5. Click on Actions -> MARC structure
6. Apply patch and reload, the js is escaped

Fixed for both the pages biblio_framework.pl and marctagstructure.pl

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 29ab5517f5c8cfbc86b98c3197846d005007cc12)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt