Bug 19034: XSS Flaws in Patron categories pages
1. Hit /cgi-bin/koha/admin/categories.pl
2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search patron categories box.
3. Notice the iframe is executed.
4. Apply patch.
5. Reload page, and enter iframe again on search patron categories box.
6. Notice it is no longer executed.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8288adc358
commit
e1f5288341
|
|
@ -335,7 +335,7 @@
|
|||
|
||||
<h2>Patron categories</h2>
|
||||
[% IF searchfield %]
|
||||
You Searched for [% searchfield %]</span>
|
||||
You Searched for [% searchfield |html %]</span>
|
||||
[% END %]
|
||||
[% IF categories%]
|
||||
<table id="table_categorie">
|
||||
|
|
|
|||
Loading…
Reference in New Issue