CVE-2023-26115
HIGH 7.5CVSS 3.1word-wrap vulnerable to Regular Expression Denial of Service
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.
- Published
- 22 Jun 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-j8xg-fqg3-53r7
- Sources
- NVDJSONOSV GHSA-j8xg-fqg3-53r7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | word-wrap_project | word-wrapcpe:2.3:a:word-wrap_project:word-wrap:*:*:*:*:*:node.js:*:* |
< 1.2.4 | 1.2.4 |
| OSV | npm | word-wrap | < 1.2.4 | 1.2.4 |
References
- https://github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39 · Broken Link, WEB
- https://github.com/jonschlinkert/word-wrap/releases/tag/1.2.4 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657 · Exploit, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26115 · ADVISORY
- https://github.com/jonschlinkert/word-wrap/commit/420dce9a2412b21881202b73a3c34f0edc53cb2e · WEB
- https://github.com/jonschlinkert/word-wrap · PACKAGE
- https://github.com/jonschlinkert/word-wrap/blob/master/index.js#L39 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 22 Jun 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jun 2023)