Bugzilla – Attachment 93219 Details for
Bug 23451
Reflected XSS in opac-imageviewer.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23451: Prevent XSS vulnerabilities in opac-imageviewer.pl
Bug-23451-Prevent-XSS-vulnerabilities-in-opac-imag.patch (text/plain), 1.18 KB, created by
Liz Rea
on 2019-09-27 21:30:51 UTC
(
hide
)
Description:
Bug 23451: Prevent XSS vulnerabilities in opac-imageviewer.pl
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2019-09-27 21:30:51 UTC
Size:
1.18 KB
patch
obsolete
>From 7ce2dd2da50d03d19c468c3cb9a0b91509237e63 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 14 Aug 2019 13:31:53 -0400 >Subject: [PATCH] Bug 23451: Prevent XSS vulnerabilities in opac-imageviewer.pl > >And certainly in other sripts as it is in opac-bottom.inc > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index a8494dec85..736821e40c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -186,7 +186,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > return false; > }); > $("#ulactioncontainer > ul > li > a.addtoshelf").on("click",function(){ >- Dopop('opac-addbybiblionumber.pl?biblionumber=[% biblionumber | html %]'); >+ Dopop('opac-addbybiblionumber.pl?biblionumber=[% biblionumber | uri %]'); > return false; > }); > $("body").on("click", ".addtocart", function(e){ >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23451
:
92196
|
92197
|
93219
|
93220
|
93232
|
93233
|
94414
|
94415