Skip to content
Fencer Vulns
medium 5.3

CVE-2023-26115 json

word-wrap vulnerable to Regular Expression Denial of Service

published 2023-06-22 3 y ago modified 2026-06-17 4 mo ago also GHSA-j8xg-fqg3-53r7 , EUVD-2023-1831

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm word-wrap 1.2.4
  • word-wrap_project word-wrap 1.2.4

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-26115 updated cvss 7.5

word-wrap: ReDoS

  • Red Hat Migration Toolkit for Applications 6 mta/mta-ui-rhel8
    affected: no fix available
  • Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-ui-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-api-rhel8, acm-cluster-templates-console-plugin-container
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8 Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat build of OptaPlanner 8 word-wrap
    affected: no fix planned “Will not fix”
  • Red Hat Decision Manager 7 word-wrap
    affected: no fix planned “Out of support scope”
  • Red Hat Discovery 1 discovery-server-container Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 more Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat OpenShift Container Platform 4 openshift4/ose-console
    affected: no fix planned “Will not fix”
show 12 more
  • Red Hat Openshift Container Storage 4 ocs4/mcg-core-rhel8 Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8 Red Hat OpenShift Dev Spaces devspaces/dashboard-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8 Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin, container-native-virtualization/kubevirt-console-plugin-rhel9
    affected: no fix available
  • Red Hat Process Automation 7 word-wrap
    affected: no fix planned “Out of support scope”
  • Red Hat Quay 3 quay/quay-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat NETOBSERV 1.4 for RHEL 9 network-observability/network-observability-operator-bundle 1.4.0-55, network-observability/network-observability-rhel9-operator v1.4.0-42, network-observability/network-observability-ebpf-agent-rhel9 v1.4.0-42, network-observability/network-observability-console-plugin-rhel9 v1.4.0-42, network-observability/network-observability-flowlogs-pipeline-rhel9 v1.4.0-42
    fixed: vendor fix RHSA-2023:5379
  • Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-ui-rhel8 v1.8.0-7
    fixed: vendor fix RHSA-2023:5447
  • Red Hat OpenShift Container Platform 4.14 openshift4/ose-monitoring-plugin-rhel8 v4.14.0-202310201027.p0.g8757197.assembly.stream, openshift4/nmstate-console-plugin-rhel8 v4.14.0-202312011333.p0.g8dc4a62.assembly.stream
    fixed: vendor fix RHSA-2023:7681
  • Red Hat OpenShift GitOps 1.13 openshift-gitops-1/console-plugin-rhel8 v1.13.2-4
    fixed: vendor fix RHSA-2024:8581
  • Red Hat OpenShift GitOps 1.14 openshift-gitops-1/console-plugin-rhel8 v1.14.0-16
    fixed: vendor fix RHEA-2024:6787
  • Red Hat OpenShift GitOps 1.15 openshift-gitops-1/console-plugin-rhel8 v1.15.0-15
    fixed: vendor fix RHEA-2024:11005
  • Red Hat RHODF 4.13 for RHEL 9 odf4/odf-console-rhel9 v4.13.3-1
    fixed: vendor fix RHSA-2023:5376
  • Red Hat RHOL 5.7 for RHEL 8 openshift-logging/logging-view-plugin-rhel8 v5.7.3-6
    fixed: vendor fix RHSA-2023:3998
  • Red Hat A-MQ Interconnect 1 word-wrap Red Hat Cryostat 2 word-wrap Red Hat Migration Toolkit for Runtimes org.jboss.windup-windup-parent Red Hat A-MQ Online word-wrap Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8 Red Hat build of Apicurio Registry 2 word-wrap
    +6 more products
    Red Hat Data Grid 8 word-wrap Red Hat Enterprise Linux 8 pcs, cockpit, pcs-snmp, cockpit-ws, cockpit-pcp, cockpit-bridge, +6 more Red Hat Enterprise Linux 9 pcs, pcs-snmp Red Hat Fuse 7 word-wrap Red Hat Integration Camel K 1 word-wrap Red Hat Migration Toolkit 1.8 rhmtc/openshift-migration-openvpn-rhel8 v1.8.0-7, rhmtc/openshift-migration-registry-rhel8 v1.8.0-7, rhmtc/openshift-migration-rhel8-operator v1.8.0-6, rhmtc/openshift-migration-operator-bundle v1.8.0-7, rhmtc/openshift-migration-controller-rhel8 v1.8.0-8, rhmtc/openshift-migration-log-reader-rhel8 v1.8.0-7, +4 more
    not affected: vulnerable code not present

9 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.71% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • security.snyk.io https://security.snyk.io/vuln/SNYK-JS-WORDWRAP-3149973 referenced PoC, tagged "exploit" by a source, unverified
  • security.snyk.io https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-4058657 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
npm word-wrap
<1.2.4
1.2.4

Affected products

  • n/a word-wrap
  • n/a org.webjars.npm:word-wrap

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.