{"id":"CVE-2020-7661","aliases":["EUVD-2020-0514","GHSA-v4rh-8p82-6h5w"],"status":"published","title":"Regular expression denial of service in url-regex","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0267,"percentile":0.85861,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-400"],"published":"2020-06-04T17:15:32Z","modified":"2026-06-17T03:25:13Z","exploits":[{"source":"pocgithub","id":"spamscanner/url-regex-safe","title":"spamscanner/url-regex-safe","date":"2020-08-15","url":"https://github.com/spamscanner/url-regex-safe"}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"url-regex","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"url-regex","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"5.0.0"}]}]}],"products":[{"vendor":"url-regex_project","product":"url-regex"}],"references":[{"url":"https://github.com/kevva/url-regex/issues/70","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-URLREGEX-569472","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7661","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v4rh-8p82-6h5w"},{"url":"https://github.com/kevva/url-regex","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-7661","description":"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.","status":"published","published":"2020-06-04T17:15:32Z","modified":"2024-08-04T09:33:20.033Z","updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2020-0514","description":"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.","status":"published","published":"2020-06-04T17:15:32Z","modified":"2024-08-04T09:33:20Z","updated_at":"2026-11-03T03:07:59.058668Z"}],"ghsa":[{"id":"GHSA-v4rh-8p82-6h5w","title":"Regular expression denial of service in url-regex","description":"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.","status":"published","published":"2020-06-22T14:39:03Z","modified":"2023-01-09T05:03:30Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:05.071174Z"}],"nvd":[{"id":"CVE-2020-7661","description":"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.","status":"published","published":"2020-06-04T18:15:15.013Z","modified":"2026-06-17T03:25:13.177Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:06:05.962132Z"}],"osv":[{"id":"GHSA-v4rh-8p82-6h5w","title":"Regular expression denial of service in url-regex","description":"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.","status":"published","published":"2020-06-22T14:39:03Z","modified":"2026-03-13T21:56:41.415393Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:56.639206Z"}]}}
