Bug 19103 - Stored XSS in patron-attr-types.pl
To Test 1. Hit the page /cgi-bin/koha/admin/patron-attr-types.pl 2. Click on new patron attribute type 2. Add a text in the field Description that contain js. 2. Save the page. 3. Notice js is execute 4. 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: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
9ce88fb28a
commit
174f1eda3b
|
|
@ -265,7 +265,7 @@ $(document).ready(function() {
|
|||
[% FOREACH item IN attribute.items %]
|
||||
<tr>
|
||||
<td>[% item.code |html %]</td>
|
||||
<td>[% item.description %]</td>
|
||||
<td>[% item.description |html %]</td>
|
||||
<td>
|
||||
[% IF ( item.branches && item.branches.size > 0 ) %]
|
||||
[% branches_str = "" %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue