Hi, On Wed, Oct 20, 2021 at 5:46 AM Shengche Hsiao <shengchehs...@gmail.com> wrote:
> Dear All > > Recently, our website made a vulnerability scanning. The report shows > [/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4-v- > 6233386130326534.js] as a vulnerability library. How do I disallow output > this jquery version to avoid scan? > I don't understand your question. Please re-phrase if the following does not help you! You can upgrade jQuery by adding such code to YourApplication#init(): getJavaScriptLibrarySettings().setJQueryReference(new JavaScriptResourceReference(MyClass.class, "jquery-x.y.z.js")); you could use org.apache.wicket.resource.JQueryResourceReference#INSTANCE_3, for example > > Thanks >