# GHSA-36jr-mh4h-2g58: d3-color vulnerable to ReDoS

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-09-29T14:12:55.000Z
- Modified: 2026-09-10T03:49:55.734Z
- Weaknesses: CWE-400, CWE-1333

## Description

The d3-color module provides representations for various color spaces in the browser. Versions prior to 3.1.0 are vulnerable to a Regular expression Denial of Service. This issue has been patched in version 3.1.0. There are no known workarounds.

(As written by GitHub Advisory Database.)

## Affected

- d3-color (npm): from 1.0.2 before 3.1.0

## References

- <https://github.com/d3/d3-color/pull/100> (web)
- <https://github.com/d3/d3-color> (package)
- <https://github.com/d3/d3-color/releases/tag/v3.1.0> (web)
- <https://security.snyk.io/vuln/SNYK-JS-D3COLOR-1076592> (web)

## Sources

- GitHub Advisory Database: [GHSA-36jr-mh4h-2g58](https://github.com/advisories/GHSA-36jr-mh4h-2g58), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-36jr-mh4h-2g58 · Whole record: https://cve.day/GHSA-36jr-mh4h-2g58.json · Rebuilt by cve.day 2026-11-25T22:56:43.748Z
