Bug 19034: XSS Flaws in Cities
1. Hit /cgi-bin/koha/admin/cities.pl
2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search cities box.
3. Notice the iframe is executed.
4. Apply patch.
5. Reload page, and enter iframe again on search cities box.
6. Notice it is no longer executed.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
862a9e7905
commit
8a14d52338
|
|
@ -143,7 +143,7 @@
|
|||
|
||||
<h2>Cities</h2>
|
||||
[% IF searchfield %]
|
||||
Searching: [% searchfield %]
|
||||
Searching: [% searchfield |html %]
|
||||
[% END %]
|
||||
|
||||
[% IF cities.count %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue