]> git.koha-community.org Git - koha.git/commit
Bug 38961: XSS in vendor search
authorPhil Ringnalda <phil@chetcolibrary.org>
Fri, 24 Jan 2025 02:01:12 +0000 (18:01 -0800)
committerJesseM <jesse@bywatersolutions.com>
Tue, 18 Feb 2025 20:37:20 +0000 (20:37 +0000)
commit535ce2f38e4c90df92d7f5d1194ec2117523cbd5
treeeff43759928b58b5d80b07ddb1d66bc49ac35807
parent2ec86ee2dfaf3b03205d522c50c7de72610831cd
Bug 38961: XSS in vendor search

acqui/booksellers.tt and admin/currency.tt use | $HtmlTags without first
filtering the string they wrap.

Test plan:
1. Without the patch, load the URL in comment 1, note the alert()
2. Apply patch, load the URL in comment 1, no alert()

Sponsored-by: Chetco Community Public Library
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Followed the test plan, works as advertised.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
(cherry picked from commit a5afd9c9c8bd3901597a45998bf42b257cf91690)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: JesseM <jesse@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt