d3-color vulnerable to ReDoS
The d3-color module, used for color space representations in browsers, has a vulnerability in versions from 1.0.2 up to but not including 3.1.0. This vulnerability is a Regular Expression Denial of Service (ReDoS) issue. The vulnerability has been fixed in version 3.1.0. No known workarounds exist for affected versions.
AI Analysis
Technical Summary
Versions of the d3-color module prior to 3.1.0 are vulnerable to a Regular Expression Denial of Service (ReDoS) attack. This vulnerability arises from inefficient regular expression processing that can be exploited to cause excessive resource consumption, leading to denial of service. The issue is tracked under GHSA-36jr-mh4h-2g58 and is associated with CWE-400 (Uncontrolled Resource Consumption) and CWE-1333. The vulnerability has been patched in version 3.1.0 of d3-color. There are no known workarounds for affected versions.
Potential Impact
Exploitation of this vulnerability can lead to denial of service conditions by causing the application to consume excessive CPU resources when processing crafted input that triggers the vulnerable regular expression. This can degrade application availability or responsiveness. There are no reports of known exploits in the wild.
Mitigation Recommendations
Upgrade d3-color to version 3.1.0 or later, where the vulnerability has been patched. There are no known workarounds for affected versions, so updating is the recommended remediation.
d3-color vulnerable to ReDoS
Description
The d3-color module, used for color space representations in browsers, has a vulnerability in versions from 1.0.2 up to but not including 3.1.0. This vulnerability is a Regular Expression Denial of Service (ReDoS) issue. The vulnerability has been fixed in version 3.1.0. No known workarounds exist for affected versions.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Versions of the d3-color module prior to 3.1.0 are vulnerable to a Regular Expression Denial of Service (ReDoS) attack. This vulnerability arises from inefficient regular expression processing that can be exploited to cause excessive resource consumption, leading to denial of service. The issue is tracked under GHSA-36jr-mh4h-2g58 and is associated with CWE-400 (Uncontrolled Resource Consumption) and CWE-1333. The vulnerability has been patched in version 3.1.0 of d3-color. There are no known workarounds for affected versions.
Potential Impact
Exploitation of this vulnerability can lead to denial of service conditions by causing the application to consume excessive CPU resources when processing crafted input that triggers the vulnerable regular expression. This can degrade application availability or responsiveness. There are no reports of known exploits in the wild.
Mitigation Recommendations
Upgrade d3-color to version 3.1.0 or later, where the vulnerability has been patched. There are no known workarounds for affected versions, so updating is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-36jr-mh4h-2g58
- Osv Schema Version
- 1.4.0
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
Threat ID: 6a6bddaf9c2644c7f8da8d73
Added to database: 07/30/2026, 23:26:39 UTC
Last enriched: 07/30/2026, 23:56:42 UTC
Last updated: 09/07/2026, 19:32:11 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.