# CVE-2023-26115: word-wrap vulnerable to Regular Expression Denial of Service

- Severity: Medium 5.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.71%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-06-22T05:00:01.472Z
- Modified: 2026-06-17T05:42:42.640Z
- Also known as: GHSA-j8xg-fqg3-53r7
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- word-wrap: before *
- org.webjars.npm:word-wrap: before *
- word-wrap (npm): before 1.2.4
- word-wrap_project word-wrap: before 1.2.4

## Every score

- snyk: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973> (exploit, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657> (exploit, third-party-advisory, web)
- <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/>
- <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)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)

## Sources

- CVE List: [CVE-2023-26115](https://www.cve.org/CVERecord?id=CVE-2023-26115), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-j8xg-fqg3-53r7](https://github.com/advisories/GHSA-j8xg-fqg3-53r7), CC-BY-4.0, modified 2025-02-13
- NVD: [CVE-2023-26115](https://nvd.nist.gov/vuln/detail/CVE-2023-26115), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26115 · Whole record: https://cve.day/CVE-2023-26115.json · Rebuilt by cve.day 2026-11-25T22:58:24.976Z
