{"id":"GHSA-v4rh-8p82-6h5w","summary":"Regular expression denial of service in url-regex","details":"all versions of url-regex are vulnerable to Regular Expression Denial of Service. An attacker providing a very long string in String.test can cause a Denial of Service.","aliases":["CVE-2020-7661"],"modified":"2026-03-13T21:56:41.415393Z","published":"2020-06-22T14:39:03Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-18T14:26:22Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7661"},{"type":"WEB","url":"https://github.com/kevva/url-regex/issues/70"},{"type":"PACKAGE","url":"https://github.com/kevva/url-regex"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-URLREGEX-569472"}],"affected":[{"package":{"name":"url-regex","ecosystem":"npm","purl":"pkg:npm/url-regex"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"5.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-v4rh-8p82-6h5w/GHSA-v4rh-8p82-6h5w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}