UnratednpmAmendedPublished
Arbitrary Code Injection in reduce-css-calc
CVE-2016-10548 · GHSA-4662-j96g-mv46
- Affected
- npm reduce-css-calc < 1.2.5
- Fixed in
- 1.2.5· Vendor fix available
- Issue
- Affected versions of reduce-css-calc pass input directly to eval. If user input is passed into the calc function, this may result in cross-site scripting on the browser, or remote code execution on the server. Proof of Concept Recommendation Update to version 1.2.5 or later.
Recommended action: Upgrade to 1.2.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.