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-2020-12265 Vulnerability in maven package org.webjars.npm:decompress-tar
CVE-2021-23341 Vulnerability in maven package org.webjars:prismjs
CVE-2018-14042 Vulnerability in maven package org.webjars.bower:bootstrap
CVE-2023-3691 Vulnerability in maven package org.webjars.npm:github-com-layui-layui
CVE-2022-36092 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore