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: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
e552cd64bb
commit
4c3c2c8ec2
|
|
@ -516,7 +516,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