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
Related 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
You might also like:
- Tags:
- npm
- d3-color
Anything's wrong? Let us know Last updated on July 30, 2026


