Regular Expression Denial Of Service (ReDoS)
mocha is vulnerable to Regular Expression Denial Of Service. The stack prettifier function which is enabled by default, consumes excessive resources and requires a long time to complete when parsing a large Error.message containing certain assertions against large objects...