Knowledge base

Vulnerable JavaScript libraries: what the finding means

Protectory recognises third-party JavaScript libraries that your pages load (jQuery, Lodash, Moment, AngularJS, Bootstrap and about 75 others) and compares their versions with the public RetireJS vulnerability database.

How a library is recognised

  • Script address or file name, for example jquery-1.12.4.min.js or a CDN address such as cdn.jsdelivr.net/npm/lodash@4.17.15/. A version in the address needs no download.
  • The banner at the top of a file, such as /*! jQuery v3.4.1. This also works for libraries inside a bundle when the banner survives the build.
  • The fingerprint (hash) of a known file.

Protectory never runs your site's JavaScript to find versions.

The three results

  • js_library_vulnerable: the version has published vulnerabilities. The finding lists the CVE numbers, links to the advisories and the first version that fixes all of them. Severity follows the advisory: high or critical advisories are critical, medium ones are warnings, low ones are informational.
  • js_library_eol: the major version is end-of-life (for example AngularJS 1.x, jQuery 1.x and 2.x, Bootstrap 3). It becomes critical when the end of life is more than three years ago.
  • js_library_inventory_ok: libraries were recognised and none has a known problem.

A known vulnerability does not mean your site can be attacked: see Why a known vulnerability does not always mean you are exploitable.

New vulnerabilities without a rescan

The database is refreshed every day. When a new vulnerability is published for a library a project already uses, Protectory creates the finding and alerts you without scanning the site again.

Limits

Detection is passive and depends on version strings reaching the browser. Libraries bundled without a banner, renamed files and server-side packages are not detected. Protectory does not claim complete coverage of the libraries you use.

Last reviewed Oct 14, 2026, 12:00:00 AM

Still stuck? Send a ticket

Feedback
Type