Medium, CVSS 5.3npmAmendedPublished
word-wrap vulnerable to Regular Expression Denial of Service
CVE-2023-26115 · GHSA-j8xg-fqg3-53r7
- Affected
- npm word-wrap < 1.2.4
- Fixed in
- 1.2.4· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.2.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.