# CVE-2020-26302: is_js vulnerable to Regular Expression Denial of Service

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-22T21:15:08.877Z
- Modified: 2026-06-17T03:08:02.120Z
- Also known as: GHSA-pvrw-g6fx-mcx2
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- arasatasaygin is.js: from 0.9.0 up to 0.9.0
- is_js (npm): up to 0.9.0
- is.js_project is.js: up to 0.9.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://securitylab.github.com/advisories/GHSL-2020-295-redos-is.js> (exploit, advisory, third-party-advisory)
- <https://github.com/arasatasaygin/is.js/issues/320> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26302> (advisory)
- <https://github.com/arasatasaygin/is.js> (package)

## Sources

- CVE List: [CVE-2020-26302](https://www.cve.org/CVERecord?id=CVE-2020-26302), CVE Terms of Use, modified 2025-04-14
- GitHub Advisory Database: [GHSA-pvrw-g6fx-mcx2](https://github.com/advisories/GHSA-pvrw-g6fx-mcx2), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-26302](https://nvd.nist.gov/vuln/detail/CVE-2020-26302), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26302 · Whole record: https://cve.day/CVE-2020-26302.json · Rebuilt by cve.day 2026-11-25T22:57:58.769Z
