Bug 19108: Fix Stored XSS in fieldmapping.pl
To Test 1. Hit the page /cgi-bin/koha/admin/fieldmapping.pl 2. Add a text in the field Field name that contains js 3. Save the page. 4. Notice js is execute 5. 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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
6a68fd0330
commit
ec85c6b0a2
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ $(document).ready(function() {
|
|||
</tr>
|
||||
[% FOREACH field IN fields %]
|
||||
<tr>
|
||||
<td>[% field.field %]</td>
|
||||
<td>[% field.field |html %]</td>
|
||||
<td>[% field.fieldcode %]</td>
|
||||
<td>[% field.subfieldcode %]</td>
|
||||
<td><a class="btn btn-default btn-xs" href="?op=delete&id=[% field.id %]&framework=[% field.frameworkcode %]"><i class="fa fa-trash"></i> Delete</a></td>
|
||||
|
|
Loading…
Reference in a new issue