Packages / word-wrap / Security
ModerateVulnerabilityGHSA-j8xg-fqg3-53r7CVE-2023-26115Published 22 Jun 2023
word-wrap vulnerable to Regular Expression Denial of Service
Your version
Affected releases · word-wrap
- 1.x1.0.0 – 1.2.3Fixed in 1.2.4
- 0.3.x and older0.1.0 – 0.3.1No fix, no longer updated
On 1.x, the newest line:
npm install word-wrap@1.2.4Every release on a timeline
1.x
Affected
1.0.0 – 1.2.3
9 releases
Fixed
1.2.4 – 1.2.5
2 releases, latest
0.x
Affected
0.1.0 – 0.3.1
6 releases
What happens
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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.