A Regular Expression Denial of Service (ReDoS) flaw was found in stealjs steal via the source and sourceWithComments variable in main.js.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-37262
- https://github.com/stealjs/steal/issues/1531
- https://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3497
- https://github.com/stealjs/steal/blob/c9dd1eb19ed3f97aeb93cf9dcea5d68ad5d0ced9/main.js#L3507
- https://github.com/advisories/GHSA-28v4-jf82-jvj8