Fixing the use of a vulnerable third-party JavaScript library
Web development wouldn't be complete without JavaScript libraries as they help developers perform Document Object Model (DOM) manipulation and process Asynchronous JavaScript And XML (AJAX) in web pages. jQuery is one such library. However efficient the jQuery JavaScript library is, there are many Common Vulnerabilities and Exposures (CVEs) associated with previous versions of the jQuery library. CVEs are publicly known vulnerabilities that detail the weaknesses of particular software or components. Let's see how we can use browser extensions to discover vulnerable versions of jQuery.
Getting ready
For the recipes in this chapter, we will need a sample Online Banking app.
Open the command shell and download the sample Online Banking app by cloning the ASP.NET-Core-Secure-Coding-Cookbook
repository, as follows:
git clone https://github.com/PacktPublishing/ASP.NET-Core-Secure-Coding-Cookbook.git
Run...