Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. validator
  4. ›
  5. GMS-2020-793

GMS-2020-793: Regular Expression Denial of Service in validator

August 31, 2020 (updated September 23, 2021)

Versions of validator prior to 3.22.1 are affected by a regular expression denial of service vulnerability in the isURL method.

Recommendation

Update to version 3.22.1 or later.

References

  • github.com/advisories/GHSA-f5w6-r7rg-mcgq
  • github.com/chriso/validator.js/issues/152
  • nvd.nist.gov/vuln/detail/CVE-2014-8882
  • snyk.io/vuln/npm:validator:20130705
  • www.npmjs.com/advisories/42

Code Behaviors & Features

Detect and mitigate GMS-2020-793 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.22.1

Fixed versions

  • 3.22.1

Solution

Upgrade to version 3.22.1 or above.

Source file

npm/validator/GMS-2020-793.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.