Vulnerability library
Security checkJuly 30, 2026

d3-color vulnerable to ReDoS

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmd3-color

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated July 30, 2026