CVE-2022-37262
JavaScript vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in stealjs steal version 2.2.4. The vulnerability exists in main.js and can be triggered via the source and sourceWithComments variables (MITRE).

Technical details

The vulnerability is caused by improper handling of regular expressions in the main.js file that process the source and sourceWithComments variables. This can lead to catastrophic backtracking in the regular expression engine (GitHub Issue).

Impact

When exploited, this vulnerability can cause excessive CPU usage through catastrophic backtracking in the regular expression engine, potentially leading to a denial of service condition where the application becomes unresponsive.

Mitigation and workarounds

The vulnerability can be mitigated by implementing regular expression best practices to prevent catastrophic backtracking, such as avoiding nested quantifiers and properly limiting repetition patterns (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management