CVE-2022-21122: Metarhia Metacalc
Critical severity, CVSS 9.8. EPSS: 2.5% chance of exploitation in the next 30 days.
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.
Affected products
- Metarhia Metacalc: before 0.0.2 (fixed in 0.0.2)
Published 2022-06-08. Last modified 2026-06-17.