Skip to content
Learn Measure Blog Case studies About
On this page
  • How this Lighthouse audit fails
  • Stop using insecure JavaScript libraries
  • Resources

Includes front-end JavaScript libraries with known security vulnerabilities

May 2, 2019 — Updated Jun 4, 2020
Available in: Español, 日本語, 한국어, Português, Русский, 中文, English
Appears in: Best Practices audits
On this page
  • How this Lighthouse audit fails
  • Stop using insecure JavaScript libraries
  • Resources

Intruders have automated web crawlers that can scan your site for known security vulnerabilities. When the web crawler detects a vulnerability, it alerts the intruder. From there, the intruder just needs to figure out how to exploit the vulnerability on your site.

How this Lighthouse audit fails #

Lighthouse flags front-end JavaScript libraries with known security vulnerabilities:

Lighthouse audit showing any front-end JavaScript libraries with known security vulnerabilities used by the page

To detect vulnerable libraries, Lighthouse:

  • Runs Library Detector For Chrome.
  • Checks the list of detected libraries against snyk's Vulnerability DB.
Each Best Practices audit is weighted equally in the Lighthouse Best Practices Score. Learn more in The Best Practices score.

Stop using insecure JavaScript libraries #

Stop using each of the libraries that Lighthouse flags. If the library has released a newer version that fixes the vulnerability, upgrade to that version. If the library hasn't released a new version or is no longer maintained, consider using a different library.

Click the links in the Library Version column of your report to learn more about each library's vulnerabilities.

Resources #

  • Source code for Includes front-end JavaScript libraries with known security vulnerabilities audit
  • snyk's Vulnerability DB
Last updated: Jun 4, 2020 — Improve article
Return to all articles
Share
subscribe

Contribute

  • File a bug
  • View source

Related content

  • developer.chrome.com
  • Chrome updates
  • Web Fundamentals
  • Case studies
  • Podcasts
  • Shows

Connect

  • Twitter
  • YouTube
  • Google Developers
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms & Privacy
  • Community Guidelines

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies.