Skip to content

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

HighCVSS 7.5 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm word-wrap(npm) < 1.2.4 1.2.4 Fixed
word-wrap project word-wrap < 1.2.4 1.2.4 Fixed

Affected products

ProductAffected versionsFixed in
npm word-wrap(npm) < 1.2.4 1.2.4
word-wrap project word-wrap < 1.2.4 1.2.4

References