]> git.koha-community.org Git - koha.git/commit
Bug 19103 - Stored XSS in matching-rules.pl
authorAmit Gupta <amit.gupta@informaticsglobal.com>
Tue, 15 Aug 2017 04:45:54 +0000 (10:15 +0530)
committerMason James <mtj@kohaaloha.com>
Wed, 20 Sep 2017 03:03:02 +0000 (15:03 +1200)
commit8675e0c4679835fdfd31a96ec0a7f63ac4b944a0
treedad852d79e6a46ee630201665a944cc88ea9d499
parent174f1eda3ba2186f75fccf246cb299256c2d28c9
Bug 19103 - Stored XSS in matching-rules.pl

To Test
1. Hit the page /cgi-bin/koha/admin/matching-rules.pl
2. Click on new record matching rule
3. Add a text in the field Description that contain js.
4. Save the page.
5. Notice js is execute
6. 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/matching-rules.tt