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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
e0dd566634
commit
3f7fc907ba
|
|
@ -143,7 +143,7 @@
|
|||
|
||||
<h2>Cities</h2>
|
||||
[% IF searchfield %]
|
||||
Searching: [% searchfield %]
|
||||
Searching: [% searchfield |html %]
|
||||
[% END %]
|
||||
|
||||
[% IF cities.count %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue