Bug 16800: Fix XSS in catalogue/*detail.tt - author
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Aug 2016 15:03:37 +0000 (16:03 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 08:12:56 +0000 (10:12 +0200)
commit4ab091d3bfd2c6659320cbe80d35b805cff3aa4e
tree8a16f0be8dc663193dd3bba0474ea77bc602f2ea
parentc27216cce84fe07c962a8878be51025c9fe0aace
Bug 16800: Fix XSS in catalogue/*detail.tt - author

Test plan:
catalogue a bibliographic record with a author=
  </title><script>alert('XSS')</script>

Go on the detail pages.
=> Without this patch you will see the alert
=> With this patch, no more alert

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 3169434cfa7295025e4ff5fea58f7e9730a96650)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt