]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 03:06:30 +0000 (15:06 +1200)
commit8dc404940d03bb81b1ecfc987484f8bf9781bcca
tree99d223badbc7df50b783f6efbef89d5774d26828
parent280750052a28ae10aa305b9a0fab681983453e86
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: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt