The package metacalc before 0.0.2 is 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.
{ "nvd_published_at": "2022-06-08T09:15:00Z", "github_reviewed_at": "2022-06-09T23:50:50Z", "severity": "CRITICAL", "github_reviewed": true, "cwe_ids": [ "CWE-94" ] }