reduce-css-calc@1.1.4 vulnerabilities

Reduce CSS calc() function to the maximum

Direct Vulnerabilities

Known vulnerabilities in the reduce-css-calc 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
  • M
Arbitrary Code Injection

reduce-css-calc is a package that reduces CSS calc() function to the maximum. Affected versions of the package used eval() for evaluation the expression, allowing the attacker to gain arbitrary code execution via specially crafted input.

How to fix Arbitrary Code Injection?

Upgrade reduce-css-calc version 1.2.5 or greater.