Vulnerability

CVE-2022-21122

criticalCVSS 3.1 9.8Published 8 Jun 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Metarhia metacalc

Weakness type

References

  • github.com /metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08…
  • github.com /metarhia/metacalc/pull/16
  • snyk.io /vuln/SNYK-JS-METACALC-2826197

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning