Bug 17036: Fix XSS in circulation.pl
Test plan:
Enter the following in the "Check out" tab:
"><script>alert('XSS')</script>
=> Without this patch you will see the alert
=> With this patch, no more alert
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 96a9c2715e)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 3bf66eb1a1)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
f4a9e94242
commit
2ad850b0b5
|
|
@ -555,7 +555,7 @@ $(document).ready(function() {
|
|||
[% IF ( message ) %]
|
||||
[% INCLUDE 'patron-toolbar.inc' %]
|
||||
<h4>
|
||||
No patron matched <span class="ex">[% message %]</span>
|
||||
No patron matched <span class="ex">[% message | html %]</span>
|
||||
</h4>
|
||||
[% END %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue