CVE-2022-37264
Description
Prototype pollution vulnerability in stealjs steal 2.2.4 via the optionName variable in main.js.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Prototype pollution in stealjs steal 2.2.4 via the optionName variable in main.js allows attackers to pollute Object prototype.
Vulnerability
Overview
CVE-2022-37264 is a prototype pollution vulnerability in the steal module loader version 2.2.4. The issue resides in the main.js file, specifically in the handling of the optionName variable [1][4]. Prototype pollution occurs when an attacker can inject properties into an object's prototype, potentially affecting all objects of that type in the application.
Exploitation
An attacker can exploit this vulnerability by crafting input that manipulates the optionName variable, leading to the pollution of the Object.prototype. This can be achieved without authentication if the application processes user-controlled data through the affected code path [3]. The attack surface includes any application using steal 2.2.4 that accepts external configuration or options.
Impact
Successful exploitation allows an attacker to modify the behavior of all objects in the application, potentially leading to arbitrary code execution, denial of service, or data manipulation. The severity is high because prototype pollution can bypass security controls and affect the entire application runtime [1].
Mitigation
As of the publication date, no patch has been released for this vulnerability. Users are advised to upgrade to a newer version of steal if available, or to implement input validation and sanitization to prevent untrusted data from reaching the vulnerable code path [2]. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog.
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
stealnpm | <= 2.3.0 | — |
Affected products
2- stealjs/stealdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-8f8g-9j73-7p82ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-37264ghsaADVISORY
- github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.jsghsax_refsource_MISCWEB
- github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.jsghsax_refsource_MISCWEB
- github.com/stealjs/steal/issues/1533ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.