validate-color@1.0.8 vulnerabilities

Validate HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb', 'lab' or 'lch' values

Direct Vulnerabilities

Known vulnerabilities in the validate-color package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Denial of Service (DoS)

validate-color is a Validates HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb' or 'lab' values

Affected versions of this package are vulnerable to Denial of Service (DoS) when processing invalid rgb(a) strings.

How to fix Denial of Service (DoS)?

Upgrade validate-color to version 2.2.4 or higher.

<2.2.4