polished@3.3.1 vulnerabilities

A lightweight toolset for writing styles in Javascript.

Direct Vulnerabilities

Known vulnerabilities in the polished 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
  • L
Regular Expression Denial of Service (ReDoS)

polished is a lightweight toolset for writing styles in Javascript.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when parsing unsanitized color inputs in fontFace or a color function. Note: this only applies if the website parses the input in the server-side.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade polished to version 3.7.2, 4.1.3 or higher.

<3.7.2 >=4.0.0-beta.1 <4.1.3