GHSA-968p-4wvh-cqc8
MODERATECVE-2025-27789When using Babel to compile [regular expression named capturing groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regularexpressions/Namedcapturinggroup), Babel will generate a polyfill for the .replace method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to .replace).
- Affected
- >= 8.0.0-alpha.0, < 8.0.0-alpha.16, < 7.26.10
- Fixed in
- 8.0.0-alpha.17
- Weakness
- CWE-1333
- Published
- 2025-03-11
- Source
- github