XSS Flaws in Currencies and exchange page
Created attachment 65483 [details] Screenhot XSS currenices page XSS issue in the Currencies and exchange page
Created attachment 65484 [details] [review] Bug 19033 - XSS Flaws in Currencies and exchange page 1. Hit /cgi-bin/koha/admin/currency.pl 2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search currencies box. 3. Notice the iframe is executed. 4. Apply patch. 5. Reload page, and enter iframe again on search currencies box. 6. Notice it is no longer executed.
Created attachment 65557 [details] [review] Bug 19033: XSS Flaws in Currencies and exchange page 1. Hit /cgi-bin/koha/admin/currency.pl 2. Enter <IFRAME SRC="javascript:alert('XSS');"></IFRAME> search currencies box. 3. Notice the iframe is executed 4. Apply patch 5. Reload page, and enter iframe again on search currencies box. 6. Notice it is no longer executed Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Fixes the issue, follows common practice on the codebase.
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 17.05.x, is in 17.05.03
This patch has been pushed to 16.11.x and is in 16.11.11.
Pushed to 16.05.x, for 16.05.16 release - thanks Amit :0)