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.
Recommendation
Update the d3-color package to the latest compatible version. Followings are version details:
- Affected version(s): >= 1.0.2, < 3.1.0
- Patched version(s): 3.1.0
References
Could your website be exposed too?
SmartScanner can check your website for d3-color vulnerable to ReDoS and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Valibot has a ReDoS vulnerability in `EMOJI_REGEX` - CVE-2025-66020
- js-bson vulnerable to REDoS - CVE-2018-13863
- Sanitize-html Vulnerable To REDoS Attacks - CVE-2022-25887
- fast-xml-parser vulnerable to ReDOS at currency parsing - CVE-2024-41818


