Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-21122

31
FAUCET Score

CVE-2022-21122 is a critical arbitrary code execution vulnerability affecting the metarhia metacalc package prior to version 0.0.2. It arises from exposing JavaScript's Math class to the v8 context, allowing attackers to gain access to the Function constructor. With a CVSS score of 9.8 (Critical), this vulnerability has a network attack vector, low attack complexity, and can lead to complete compromise of confidentiality, integrity, and availability. Currently, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
< 0.0.2CPE matchmatch criteria
cpe:2.3:a:metarhia:metacalc:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.0CRITICAL

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.2
Impact Score
6.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
2.39%
Probability of exploitation in next 30 days
EPSS Percentile
82.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0239 is in the 72nd percentile among its peer group of 36,897 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: metacalcFixed in: 0.0.2

Vendor Advisories (1)

npmGHSA-5gc4-cx9x-9c43critical

Code Injection in metacalc

Jun 9, 2022

References

github.com / metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd
PatchThird Party Advisory
github.com / metarhia/metacalc/pull/16
PatchThird Party Advisory
snyk.io / vuln/SNYK-JS-METACALC-2826197
ExploitThird Party Advisory