CVSS v3
9.8
CRITICAL
EPSS Score
2.5 %
exploit probability, as of 2026-09-25
CISA KEV
No
known exploited
Exploitation
—
SSVC status
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.
Technical details
- Published
- 2022-06-08
Frequently asked questions
What is CVE-2022-21122?
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.
Is CVE-2022-21122 actively exploited?
Active exploitation of CVE-2022-21122 has not been confirmed. Its EPSS score was 2.5% on 2026-09-25, the estimated probability of exploitation in the next 30 days.
What is the CVSS score for CVE-2022-21122?
CVE-2022-21122 has a CVSS v3 base score of 9.8 (CRITICAL severity).
Is CVE-2022-21122 affecting your environment?
Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.
No credit card required · 500 free checks/month · Free API key
Other 2022 vulnerabilities worth triaging
Ranked by exploit probability (EPSS).