jonschlinkert/word-wrap · Security

word-wrap vulnerable to Regular Expression Denial of Service

GHSA ID
GHSA-j8xg-fqg3-53r7
CVE ID
CVE-2023-26115
Severity
medium
Published
Updated
CVSS
5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v3
5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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.

CWEs

References