CVE-2025-5889
JavaScript vulnerability analysis and mitigation

Overview

A vulnerability was discovered in juliangruber brace-expansion up to versions 1.1.11/2.0.1/3.0.0/4.0.0, identified as CVE-2025-5889. The vulnerability affects the expand function in the index.js file and involves inefficient regular expression complexity. The issue was disclosed on June 9, 2025, and has been rated as problematic (NVD, CVE).

Technical details

The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-1333 (Inefficient Regular Expression Complexity). It has received a CVSS v3.1 Base Score of 3.1 (LOW) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L. The CVSS v4.0 score is 2.3 (LOW) with the vector string CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P (NVD).

Impact

The vulnerability can lead to a denial-of-service condition through inefficient regular expression processing. While the vulnerability has no direct impact on confidentiality or integrity, it can affect the availability of the system (Wiz).

Mitigation and workarounds

A patch has been released with the commit a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. Users are recommended to upgrade to versions 1.1.12, 2.0.2, 3.0.1, or 4.0.1 to address this issue (Github Release).

Additional resources


SourceThis report was generated using AI

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