ADVISORIES

GitHub Advisory Database

GHSA-5gc4-cx9x-9c43

Code Injection in metacalc

Details

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.

Affected packages

EcosystemPackageAffected versions
npmmetacalc
All versions before 0.0.2 (fixed in 0.0.2)

References