All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.
Fix available through Seal Security. No upgrade required, protect your application instantly.
Fix without upgrading