Koha/koha-tmpl/opac-tmpl
Chris Cormack d2d365ca83 Bug 11341: fix XSS bug in opac-search.pl (facets)
This patch fixes the prog theme; the bootstrap theme already
does the necessary filtering.

To test
1/ Craft a url like
 cgi-bin/koha/opac-search.pl?idx=kw&q=fish&offset=20" onmouseover%3dprompt(994000) bad%3d"
 (the search must return enough results to have a show more link in the facets)

2/ Check the source, or mouseover the Show more links in the facets
   Notice the code is executable

3/ Apply patch - notice it is no longer executable

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-04 21:59:18 +00:00
..
bootstrap Bug 11322: fix XSS bug in purchase suggestions - OPAC 2013-12-03 00:20:12 +00:00
ccsr Followup for bug 10320: minor bugfixes and style improvements 2013-09-08 07:04:02 +00:00
lib Bug 9916 - Use DataTables in the OPAC 2013-08-19 14:19:02 +00:00
prog Bug 11341: fix XSS bug in opac-search.pl (facets) 2013-12-04 21:59:18 +00:00