color-name (npm)
A JSON with CSS color names
Advisories
3
Latest version
2.1.1
Released Jul 22, 2026
License
MIT
OpenSSF Scorecard
3.0 / 10
How to fix
Upgrading to 2.0.2 or later clears every advisory below that has a fix.
Upgrade commands
npm
npm install color-name@2.1.1yarn
yarn add color-name@2.1.1pnpm
pnpm add color-name@2.1.1Known vulnerabilities
| Advisory | Severity | Affected | Fixed in |
|---|---|---|---|
| GHSA-5fvm-p68v-5wmh color-name@2.0.1 contains malware after npm account takeover |
High EPSS 0.55% |
>= 2.0.1, < 2.0.2 | 2.0.2 |
| GHSA-5fvm-p68v-5wmh color-name@2.0.1 contains malware after npm account takeover |
High EPSS 0.55% |
No fix yet | |
| GHSA-5fvm-p68v-5wmh color-name@2.0.1 contains malware after npm account takeover |
High EPSS 0.55% |
No fix yet |
Source: git+https://github.com/colorjs/color-name.git
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor