CVE-2023-23925
JavaScript vulnerability analysis and mitigation

Overview

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the switcher-client npm package, tracked as CVE-2023-23925. The vulnerability was discovered and disclosed on February 2, 2023, affecting versions below 3.1.3 of the package. The issue stems from unsanitized input in the Strategy match operation (EXIST) functionality (GitHub Advisory).

Technical details

The vulnerability occurs when unsanitized input flows into the Strategy match operation (EXIST), where it is used to build a regular expression. This implementation can lead to a Regular Expression Denial of Service (ReDoS) attack. The vulnerability has been assigned a High severity rating, with an attack vector through the network and low attack complexity (NVD).

Impact

When exploited, this vulnerability can result in a Regular Expression Denial of Service (ReDoS) attack, potentially causing resource consumption issues and affecting system availability. The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-1333 (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.1.4 of the switcher-client package. As a workaround, users are advised to avoid using Strategy settings that use REGEX in conjunction with EXIST and NOT_EXIST operations. For those unable to upgrade immediately, this workaround can help mitigate the risk (GitHub Release).

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-2026-23947CRITICAL9.3
  • JavaScriptJavaScript
  • @orval/core
NoYesJan 20, 2026
CVE-2026-23950HIGH8.8
  • JavaScriptJavaScript
  • grafana-graphite
NoYesJan 20, 2026
CVE-2026-22037HIGH8.4
  • JavaScriptJavaScript
  • @fastify/express
NoYesJan 19, 2026
CVE-2026-23522LOW3.7
  • JavaScriptJavaScript
  • @lobehub/chat
NoNoJan 19, 2026
CVE-2025-66803LOW1.7
  • JavaScriptJavaScript
  • @hotwired/turbo
NoYesJan 20, 2026

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