Vulnerable JavaScript Library Detector
Find out which front-end and Node libraries a page or project loads, which versions carry published advisories, how severe they are, and the lowest version that clears them.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste or drop input
Paste HTML or a lockfile, or drop several script and lock files at once.
- 2Check the counts
Read how many library versions were found and how many carry critical or high advisories.
- 3Read each finding
Open the advisory links for details and note the upgrade target.
- 4Browse the list
Use the advisory list tab to see affected ranges for a library you plan to keep.
- 5Export
Download CSV for a ticket or JSON for a pipeline or report.
- 6Rescan after upgrading
Paste the updated lockfile and confirm the findings are gone.
About this tool
Old JavaScript libraries are one of the most common findings in web security reviews. A page that still loads jQuery 1.12 or AngularJS 1.7 from a CDN, or a project whose lockfile pins Lodash 4.17.15, carries known cross-site scripting, prototype pollution or denial-of-service issues that are listed in public databases. This detector reads what you already have: the HTML of a page, script files from a vendor folder, package.json, package-lock.json in any lockfile version, yarn.lock or pnpm-lock.yaml. It recognises versions from CDN paths such as /[email protected]/ or /ajax/libs/moment.js/2.29.1/, from file names such as jquery-3.4.1.min.js, from banner comments that minified builds keep, and from lockfile entries. Each library and version is matched against a bundled list of well-known advisories for about thirty popular packages, with the CVE number, severity, a one-line description and the lowest version that clears every listed advisory in that release line.
How detection works
Minified libraries usually keep a licence banner such as jQuery v3.4.1 or Bootstrap v4.3.1, and CDNs put the version in the path, so a quick text scan finds most cases. Lodash builds are recognised by their VERSION constant, Moment by its version comment. Lockfiles give exact installed versions, including transitive dependencies, which is where many advisories hide: a project may not list minimist or semver at all, but its build tools pull them in. A plain package.json only gives ranges, so the tool takes the lowest version the range allows and says so.
Severity and upgrade advice
Each row shows the worst severity among the matching advisories, from critical to low, and every advisory with its identifier. CVE identifiers link to the NIST NVD entry. Two special entries mark end of life: AngularJS 1.x stopped receiving fixes on 31 December 2021, and Vue 2 on 31 December 2023, so the advice for them is to replace rather than upgrade. For the rest, the upgrade target is computed by stepping through the fixed versions of each matching range until no listed advisory applies, so Bootstrap 3.3.7 is told to move to 3.4.1, not to 5.
The advisory list
The second tab shows the bundled list with affected ranges. It focuses on advisories that are widely exploited or often reported by scanners, such as jQuery's 2020 cross-site scripting fixes, the Lodash and Handlebars prototype pollution and template injection bugs, the Moment path traversal and ReDoS issues, axios server-side request forgery, and the hijacked ua-parser-js and event-stream releases.
Limits
The list is not a full vulnerability database; it was reviewed on 3 November 2026 and does not update itself. Libraries bundled by webpack or Vite usually lose their banners and are not detected from the built file, so scan the lockfile instead. An advisory may not apply to your use of a function. Run npm audit, osv-scanner or a commercial SCA tool in CI for complete coverage.
Worked example
A legacy marketing page loads six libraries. The detector finds AngularJS 1.7.9 (high: end of life plus CVE-2020-7676, advice: replace), Lodash 4.17.20 (high: CVE-2021-23337 template command injection, upgrade to 4.17.21), Moment 2.29.1 (high: CVE-2022-24785 and CVE-2022-31129, upgrade to 2.29.4), jQuery 3.4.1 (medium: CVE-2020-11022 and CVE-2020-11023, upgrade to 3.5.0), Bootstrap 4.3.1 and DOMPurify 3.2.4 with no listed advisories. Adding the project's package-lock.json then shows minimist 1.2.5 (critical, upgrade to 1.2.6) and semver 7.5.1 (high, upgrade to 7.5.2) pulled in by build tools.
Quick facts
- Category: Security & Privacy
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: GitHub Advisory Database and NIST National Vulnerability Database
Frequently asked questions
Which libraries are covered?
jQuery, jQuery UI, Lodash, Moment, Bootstrap, AngularJS, Vue 2, Handlebars, DOMPurify, axios, Underscore, Knockout, Chart.js, Prism, Marked and common Node dependencies such as minimist, semver, json5, express, ws, braces and path-to-regexp. The advisory tab lists them all.
Why is my bundled app showing nothing?
Bundlers usually strip banner comments and file names. Paste package-lock.json, yarn.lock or pnpm-lock.yaml instead; they hold the exact installed versions.
What does the upgrade target mean?
It is the lowest version that clears every advisory in the bundled list for that library. Newer versions may contain further fixes, so moving to the current release is usually better.
Is a flagged library always exploitable?
No. Many advisories need a specific function or untrusted input to be exploitable. Treat the finding as a reason to upgrade or to confirm that the vulnerable code path is not used.
How current is the list?
It was reviewed on 3 November 2026 and is shipped with the page. New advisories published later are not included until the page is updated.
Are my files uploaded?
No. Files are read in the browser with the File API, and no request is sent with their content.
