I'm on Jenkins version 2.234. Our audit team reported that the latest jQuery plugin used by Jenkins is version 1.12.4 which is fairly old and has a lot of vulnerabilities.
They found the 1.12.4 jQuery plugin on the below URL:
[https://myhost:9043/adjuncts/24d46f61/org/kohsuke/stapler/jquery/jquery.full.js]
The current of jQuery is 3.5.1 [https://jquery.com/download/]
A second issue is with the summary report plugin [https://www.jenkins.io/doc/pipeline/steps/summary_report/] that I use. It implicitly ships with an even older jQuery version 1.4.2 and can be accessed using the below URL on my system [https://myhost:9043/plugin/summary_report/lib/jquery/js/jquery-1.4.2.min.js]
How do I go about addressing the vulnerabilities of jQuery as the solution proposed is simply updating it?
I'm, however, unaware of how to update jQuery for Jenkins as well as for the Display Report plugin.
Can someone please suggest?