Vulnerabilities/

word-wrap vulnerable to Regular Expression Denial of Service

Severity:
Medium

Description

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.

Recommendation

Update the word-wrap package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
word-wrap
Anything's wrong? Let us know Last updated on February 13, 2025