{"id":"GHSA-j8xg-fqg3-53r7","summary":"word-wrap vulnerable to Regular Expression Denial of Service","details":"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.","aliases":["CVE-2023-26115"],"modified":"2025-02-13T19:00:43Z","published":"2023-06-22T06:30:18Z","database_specific":{"github_reviewed_at":"2023-06-23T21:36:40Z","nvd_published_at":"2023-06-22T05:15:09Z","cwe_ids":["CWE-1333"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26115"},{"type":"WEB","url":"https://github.com/jonschlinkert/word-wrap/commit/420dce9a2412b21881202b73a3c34f0edc53cb2e"},{"type":"PACKAGE","url":"https://github.com/jonschlinkert/word-wrap"},{"type":"WEB","url":"https://github.com/jonschlinkert/word-wrap/blob/master/index.js#L39"},{"type":"WEB","url":"https://github.com/jonschlinkert/word-wrap/blob/master/index.js%23L39"},{"type":"WEB","url":"https://github.com/jonschlinkert/word-wrap/releases/tag/1.2.4"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240621-0006"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973"}],"affected":[{"package":{"name":"word-wrap","ecosystem":"npm","purl":"pkg:npm/word-wrap"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-j8xg-fqg3-53r7/GHSA-j8xg-fqg3-53r7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}