{"id":"GHSA-36jr-mh4h-2g58","aliases":["GHSA-36jr-mh4h-2g58"],"related":[],"kind":"vulnerability","state":"published","title":"d3-color vulnerable to ReDoS","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2022-09-29T14:12:55.000Z","modified":"2026-09-10T03:49:55.734Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.2","status":"affected","fixed":"3.1.0"}],"ecosystem":"npm","package":"d3-color","purl":"pkg:npm/d3-color","source":"ghsa"}],"references":[{"url":"https://github.com/d3/d3-color/pull/100","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/d3/d3-color","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/d3/d3-color/releases/tag/v3.1.0","tags":["web"],"sources":["ghsa"]},{"url":"https://security.snyk.io/vuln/SNYK-JS-D3COLOR-1076592","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-36jr-mh4h-2g58","url":"https://github.com/advisories/GHSA-36jr-mh4h-2g58","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:55.734Z"}],"updatedAt":"2026-11-25T22:56:43.748Z"}