CVEvulnerability
CVE-2021-40892
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-06-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-1333
Description
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in validate-color v2.1.0 when handling crafted invalid rgb(a) strings.
Affected configurations
• validate color project validate color 2.1.0
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/yetingli/SaveResults/blob/main/js/validate-color.js Exploit, Third Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/validate-color.js Exploit, Third Party Advisory