Vulnerabilities/

Denial of Service in rgb2hex

Severity:
Medium

Description

All versions of rgb2hex are vulnerable to Regular Expression Denial of Service (ReDoS) when an attacker can pass in a specially crafted invalid color value.

Recommendation

Update the rgb2hex package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
rgb2hex
Anything's wrong? Let us know Last updated on January 09, 2023

This issue is available in SmartScanner Professional

See Pricing