Skip to main content

Inefficient Regular Expression Complexity in org.webjars.npm:word-wrap

CVE-2023-26115

  • org.webjars.npm:word-wrap
  • word-wrap
Severity High
Score 7.5/10

Summary

Versions prior to 1.24 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published