Description
The package metacalc before 0.0.2 are vulnerable to Arbitrary Code Execution when it exposes JavaScript's Math class to the v8 context. As the Math class is exposed to user-land, it can be used to get access to JavaScript's Function constructor.
Remediation
References
https://snyk.io/vuln/SNYK-JS-METACALC-2826197
https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd
https://github.com/metarhia/metacalc/pull/16
Related Vulnerabilities
CVE-2023-48711 Vulnerability in maven package org.webjars.npm:google-translate-api-browser
CVE-2022-35915 Vulnerability in npm package openzeppelin-solidity
CVE-2021-26540 Vulnerability in maven package org.webjars.npm:sanitize-html
CVE-2022-1233 Vulnerability in maven package org.webjars.npm:urijs
CVE-2021-46062 Vulnerability in maven package net.mingsoft:ms-mcms