Live threats

All CVEs / Word-wrap Project

CVE-2023-26115Word-wrap Project Word-wrap

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Jun 22, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Word-wrap.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm word-wrap < 1.2.4 1.2.4 npm install word-wrap@1.2.4

Per OSV / GitHub Advisories (GHSA-j8xg-fqg3-53r7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
word-wrap_projectword-wrap< 1.2.4

Official sources

References

Links published by the sources. Open them with care.