CVE-2020-26302
HIGH 7.5CVSS 3.1is_js vulnerable to Regular Expression Denial of Service
is.js is a general-purpose check library. Versions 0.9.0 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). is.js uses a regex copy-pasted from a gist to validate URLs. Trying to validate a malicious string can cause the regex to loop “forever." This vulnerability was found using a CodeQL query which identifies inefficient regular expressions. is.js has no patch for this issue.
- Published
- 22 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-pvrw-g6fx-mcx2
- Sources
- NVDJSONOSV GHSA-pvrw-g6fx-mcx2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | is.js_project | is.jscpe:2.3:a:is.js_project:is.js:*:*:*:*:*:*:*:* |
<= 0.9.0 | |
| OSV | npm | is_js | <= 0.9.0 |
References
- https://github.com/arasatasaygin/is.js/issues/320 · Issue Tracking, Third Party Advisory, WEB
- https://securitylab.github.com/advisories/GHSL-2020-295-redos-is.js · Exploit, Third Party Advisory, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-26302 · ADVISORY
- https://github.com/arasatasaygin/is.js · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Dec 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Jul 2023)