During the Security testing of moodle site, it was observed that the application uses a third-party library which have existing vulnerable components.
Moodle version : 3.8
JQuery : 3.4.1
Given risk : Attacker can use this framework vulnerability to perform XSS on the application and do malicious activities.
How to fix this issue?