VYPR
High severityNVD Advisory· Published Sep 15, 2022· Updated Aug 3, 2024

CVE-2022-37262

CVE-2022-37262

Description

A Regular Expression Denial of Service (ReDoS) flaw was found in stealjs steal 2.2.4 via the source and sourceWithComments variable in main.js.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A ReDoS vulnerability in stealjs/steal 2.2.4 allows denial of service via crafted input due to inefficient regex in main.js.

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in stealjs/steal version 2.2.4. The issue is located in the source and sourceWithComments variables within the main.js file, where regex patterns are susceptible to catastrophic backtracking [1][4]. This flaw allows an attacker to cause the application to consume excessive computational resources by providing specially crafted input.

Exploitation of this vulnerability does not require authentication; an attacker can trigger the ReDoS by submitting a malicious string to the affected variable. Since the regex is applied to user-controlled input, even a single request can cause the CPU to spike, leading to a denial of service condition [2].

The impact of successful exploitation is significant: the application may become unresponsive, affecting availability for legitimate users. This is particularly concerning for services that rely on stealjs for module loading in production environments.

As of the disclosure, the vulnerability affects stealjs/steal 2.2.4. Users are advised to update to a patched version if available. The issue was reported via the project's GitHub repository, and further details can be found in the linked advisory [1].

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.

PackageAffected versionsPatched versions
stealnpm
<= 2.3.0

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.