~ / search / GHSA-j8xg-fqg3-53r7

GHSA-j8xg-fqg3-53r7

word-wrap vulnerable to Regular Expression Denial of Service

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-26115

Packages

EcosystemPackageAffectedFixed in
npm word-wrap < 1.2.4 1.2.4

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.