Terser · Terser · CVE-2022-25858
**Name of the Vulnerable Software and Affected Versions**
terser versions prior to 4.8.1
terser versions 5.0.0 through 5.14.2
**Description**
The issue is related to a Denial of Service by Regular Expression (ReDoS) due to the insecure usage of regular expressions. This can lead to a service disruption.
**Recommendations**
For versions prior to 4.8.1, update to version 4.8.1 or later.
For versions 5.0.0 through 5.14.2, update to version 5.14.2 or later.