Description
Arbitrary code execution is possible in reduce-css-calc node module <=1.2.4 through crafted css. This makes cross sites scripting (XSS) possible on the client and arbitrary code injection possible on the server and user input is passed to the `calc` function.
Remediation
References
https://gist.github.com/ChALkeR/415a41b561ebea9b341efbb40b802fc9
https://nodesecurity.io/advisories/144
Related Vulnerabilities
CVE-2021-23412 Vulnerability in npm package gitlogplus
CVE-2023-34238 Vulnerability in npm package gatsby-transformer-remark
CVE-2020-9484 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2022-3952 Vulnerability in maven package com.manydesigns:portofino-microservice-launcher