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:
Amit Gupta 2017-08-04 10:34:19 +05:30 committed by Katrin Fischer
parent 8288adc358
commit e1f5288341
1 changed files with 1 additions and 1 deletions

View File

@ -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">