Bug 19103 - Stored XSS in matching-rules.pl
authorAmit Gupta <amit.gupta@informaticsglobal.com>
Tue, 15 Aug 2017 04:45:54 +0000 (09:45 +0530)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 19 Sep 2017 13:54:04 +0000 (15:54 +0200)
commitfb90eee74c483eb188b8c682a1259ba964f9c2b8
tree9ae75166f1e81d034c8d1d8b5f13fc4ed6a9825a
parent6fc53fb6df1e638f5cea70254612f7e60ff4de2f
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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9222cd77d282affffba43a40a9ff2f768647501e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt